Texture animatorCreates appearance of movement by rapidly changing frames.  The frames are subframes of a single texture, laid out as a matrix and read row by row.   
default {
   state_entry()
 
{ float speed = 3;
llSetTextureAnim(ANIM_ON|LOOP,ALL_SIDES,2,1,0,0,speed); }
Here set for 2 frames horizontally, 1 frame vertically.  Start at 0 (first frame).  Go to end (0 means all frames.
} Close default
Smooth rotate texture     Smooth rotation, as for the apparent rotation of the earth.  
default{
   state_entry()
 

{ float speed = -.2;
llSetTextureAnim
(ANIM_ON|LOOP|SMOOTH,ALL_SIDES,1,1,0,1,speed); }

 

}

Close default
The Thinkerer 05/09/2008
Copyright (c) D. F. Dansereau & S. H. Evans

Site Map

Where start?

LODScr
Famous fables