Smooth rotate texture

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Robot: Cosmetic changes)
 
Line 1: Line 1:
== Smooth rotate texture ==
+
== Smooth rotate texture ==
  
 
<source lang="lsl">
 
<source lang="lsl">
Line 13: Line 13:
  
 
</source>
 
</source>
 
  
 
[[Category:Scripts]]
 
[[Category:Scripts]]

Latest revision as of 21:13, 3 March 2012

[edit] Smooth rotate texture

default
{
    state_entry()                                   
    {                                               
       float SPEED = 0.2; 
       llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, ALL_SIDES, 0, 0, 1.0, 1000, SPEED);
    }
}
Personal tools
General
About This Wiki