Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How do I make a cylinder spin?

Farm Gartenberg
Registered User
Join date: 4 Jun 2008
Posts: 1
07-10-2008 19:01
I placed a chart on a cylinder and now I just want it to slowly spin in place. How do I do that?
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
07-10-2008 20:53
Here's one way to make an object spin:

default
{
state_entry()
{
llTargetOmega(<0,0,1>, 3, 3);
}
}

and another way:

default
{ state_entry()
{
// llSetTextureAnim() is a function that animates a texture on a face.
llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, 1,1,1,1.0, 1,0.25);
// animate the script to scroll across face number 1.
}


}
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-