Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

[Help] Texture Anim

Kay Douglas
Registered User
Join date: 20 Feb 2007
Posts: 41
01-20-2009 15:02
I have a problem to change the texture rotation. i change in the prim object property but is not correct the animation is not in the good direction.

I test this on a cylinder and a torus

CODE

default
{
state_entry()
{
llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, ALL_SIDES,0,0,0,0,0.25);
}
}


How to create a rotation in the right cylinder in the attached picture
In the direction of the arrow.

Thanks you for your help :)
Nexii Malthus
[Cubitar]Mothership
Join date: 24 Apr 2006
Posts: 400
01-21-2009 21:40
Build Menu > Select Texture > Texture Tab > Set Rotation to 90 or 270 degrees.
_____________________

Geometric Library, for all your 3D maths needs.
https://wiki.secondlife.com/wiki/Geometric

Creator of the Vertical Life Client
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
01-22-2009 02:00
Actually using the prim controls won't work - you need to...
Download the texture.
Flip it 90 degrees.
Upload the (new) texture.
Exchange the frame lengths parameters of the animation call exchanging x<->y.

/esc
_____________________
http://slurl.com/secondlife/Together
Kay Douglas
Registered User
Join date: 20 Feb 2007
Posts: 41
01-25-2009 05:37
Just flip to 90 is the solution thanks for your help :)