Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Animate Texture

Jarkheld Desmoulins
Registered User
Join date: 13 Sep 2005
Posts: 3
09-13-2005 21:55
I am animating a texture with:

llSetTextureAnim(ANIM_ON | LOOP | SMOOTH, 1, 0, 0, 0, 0, 0.5);

it works but it only animates my object as if it were rotating, say as if a staff laying down where being rolled across the ground.

How do I get the animation so that it animates from tip of staff to tip of staff ? so just changing the axis of the animation, i've tried messing with the parameters but can't seem to get it to work, Please help.

Thanks
Julian Fate
80's Pop Star
Join date: 19 Oct 2003
Posts: 1,020
09-13-2005 22:37
The axis of animation isn't controlled via llSetTextureAnim(). Instead, rotate the texture with the building tool. You can also change the size just like a normal non-animating texture but keep in mind changing size will affect your animation's framerate.