Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Animate Texture, switch 90 degrees

Nyx Alsop
Registered User
Join date: 14 Dec 2008
Posts: 252
01-18-2009 04:29
Ok so the texture is animating up and down, and i want it to go left to right.

default
{
state_entry()
{
llSetTextureAnim(ANIM_ON | SMOOTH | LOOP | REVERSE , ALL_SIDES, 1, 1, 2, 1, 1);
}

}


Any help?
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
01-18-2009 05:08
Hmm. Just tried this in world and it is moving left to right, at least on a prim I've just rezzed that's aligned at <0.0, 0.0, 0.0>.

Anyway, simplest way to change the direction is to change the texture rotation in the texture window -- alter that to either 90 or -90, depending on which way things are pointing.

HTH