Lightrona Posted December 4, 2019 Share Posted December 4, 2019 (edited) I want to make a script with Animating texture (rotates the texture in one face) which is glowing/scaled like this https://gyazo.com/21c8f0c2c8bd418c931141a8f2f0f661 Help is appreciated. Edited December 4, 2019 by Lightrona I found answer to color change Link to comment Share on other sites More sharing options...
Xiija Posted December 4, 2019 Share Posted December 4, 2019 http://wiki.secondlife.com/wiki/LlSetTextureAnim instead of ALL_SIDES, just use a face number? llSetTextureAnim(ANIM_ON | SMOOTH | LOOP , ALL_SIDES, 1, 1, 1.0, 1.0, 1.0); 1 Link to comment Share on other sites More sharing options...
ChinRey Posted December 11, 2019 Share Posted December 11, 2019 On 12/4/2019 at 11:37 AM, Lightrona said: I want to make a script with Animating texture (rotates the texture in one face) which is glowing/scaled I think we should add a few details not covered by the wiki. It's not exactly clear from the Gyazo picture but if you want a rotating animation, you need to add the ROTATE flag and also set the start and length floats to 0.0 and PI*2 respectively. Something like this: llSetTextureAnim(ANIM_ON | SMOOTH | LOOP | ROTATE, [FACE NUMBER], 1, 1, 0.0, PI*2, 1.0); The wiki also seems to imply that you don't need to include the SMOOTH flag for rotating aniamtion but that's not true. If by scale you mean the texture is set with repeats different from 1.0, and you want linear, not rotating animation, you need to set the sizex and sizey integers to 0: llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, [FACE NUMBER], 0, 0, 0.0, 1.0, 1.0); 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