Suki Hirano Posted March 23, 2015 Share Posted March 23, 2015 Is it even possible to animate a texture on Y axis? I've been fumbling around with this super simple function, llSetTextureAnim, for the last hour and simply can't do it. It keeps on animating on the x axis no matter what values I set for sizex and sizey variables. For example I setllSetTextureAnim(ANIM_ON | SMOOTH | LOOP, ALL_SIDES, 1,5,0,5,-0.5); It still slides texture from left to right. In fact it doesn't matter what values i set for the first 4 variables, it has absolutely no effect on the animation. Only the last variable, the framerate and direction, has any effect. For example this has the exact same animation as above:llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, ALL_SIDES, 255,1,0,255,-0.5); I know that I can rotate the object or the texture, but that won't work because my texture is not perfectly symmetrical on both axis. Here's a simple animation I did to illustrate the problem.This is what the animation looks like right now: http://imgur.com/E9NjjNfThis is what it looks like when I either rotate the object or rotate texture by 90 degrees: http://imgur.com/e9oBX1b This is what I want it to look like: http://imgur.com/MJn2PG0 A really dumb way would be to actually edit the textures themselves by rotating them 90 degrees... but that's not really a feasible solution as A) sometimes I'm not the owner of the textures and B) that would mean I have to redo every single texture whenever I want to animate it. 1 Link to comment Share on other sites More sharing options...
Cerise Sorbet Posted March 24, 2015 Share Posted March 24, 2015 Yeah, SMOOTH forces movement along X. Link to comment Share on other sites More sharing options...
Rolig Loon Posted March 24, 2015 Share Posted March 24, 2015 So open your texture in Photoshop, rotate it 90 degrees, and upload it again. Apply it to your prim and turn IT 90 degrees. That does the trick, and that's ALL that does the trick. Link to comment Share on other sites More sharing options...
Xiija Posted March 24, 2015 Share Posted March 24, 2015 make yuor own user function, use a timer, and use SLPPF and offsets to move the texture the way you want? Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now