Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

texture animation question

Niko Xingjian
Registered User
Join date: 16 Oct 2005
Posts: 34
08-02-2006 23:12
howdy!

I am currently trying to make my own water fall, and would like the water in the pool at the bottom to rotate, simulating a swirl...I have a great texture and everything, I just need to add the rotation too it...

this is what I have:

From: someone

default {
state_entry() {
llSetTextureAnim(ROTATE | SMOOTH | LOOP, ALL_SIDES, 0, 0, PI, TWO_PI, 0.5);
}
}


but the texture wont rotate! any ideas what I am doing wrong here? I followed the syntax from the wikki, this should be working...

thanks!
Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
08-03-2006 00:06
You missed out ANIM_ON.
CODE

default
{
state_entry ()
{
llSetTextureAnim (ANIM_ON | ROTATE | SMOOTH | LOOP, ALL_SIDES, 0, 0, 0.0, TWO_PI, 0.5);
}
}
Niko Xingjian
Registered User
Join date: 16 Oct 2005
Posts: 34
08-03-2006 08:33
d'oh!

so I really did misread the syntax on the wikki...

oops.

thanks for the help!