|
Paul Wardark
Wait, what?
Join date: 10 Jan 2009
Posts: 383
|
06-14-2009 22:53
I'm using llSetTextureAnim to try to make a texture slide up a tube.
Thing is, it's making the texture rotate around the tube instead. Is there any way to change the direction in the script itself?
I've tried rotating the texture itself, and that fixes the direction thing... But completely messes up the texture. Anyone have any thoughts?
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
06-14-2009 23:50
llSetTextureAnim( ANIM_ON | LOOP | REVERSE | SMOOTH, face, 0, 1, start, length, rate )
sizex=0, sizey=1 MIGHT work, if not try 1 & 2 and create a new image that is twice as tall (if it's important that you have the full image showing at once. instead of half of it) you may have to tweak start...
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Dekka Raymaker
thinking very hard
Join date: 4 Feb 2007
Posts: 3,898
|
06-15-2009 02:05
also change the rotation of the angle of the texture too, try 0, 90, 180, 270 degrees.
NB while in edit mode the texture will turn the opposite way to what it is suppose to.
Edit: Oh I'm on about Anim Smooth here, don't know if it counts.
|