Simple rotator Makes an object rotate smoothly and indefinitely.  The object will often be phantom.  In that case, the rotation is done by the client, reducing server load.  
vector globalAxis = <0,1,0>;
float revolutions_per_second = -0.1;
Global variables
Used here to make easy setting of parameters.
default {
  state_entry ()
 

{ llTargetOmega(globalAxis, TWO_PI*revolutions_per_second, 1.0);}

The rate of spin is actually in radians per second.  The TWO_PI multiplier converts to revolutions.  
} Close default
The Thinkerer 05/09/2008
Copyright (c) D. F. Dansereau & S. H. Evans

Site Map

Where start?

LODScr
Famous fables