|
Robin Peel
Registered User
Join date: 8 Feb 2005
Posts: 163
|
10-14-2008 02:06
I have a prim that on face 0 I want to rotate the texture and on face 2 i want the texture to just move. But when I do this in the script or in 2 scripts the animation stops. Am I correct in thinking that you can't animate multiple faces of a prim to do different texture animations? For instance like this: default { state_entry() { llSetTextureAnim(ANIM_ON | ROTATE | SMOOTH | LOOP, 0,1,1,1.0, 9,0.9); llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, 1,1,1,1.0, 9,0.25); } }
|
|
Dekka Raymaker
thinking very hard
Join date: 4 Feb 2007
Posts: 3,898
|
10-14-2008 02:09
have you tried putting them in the prim as two separate scripts, ie not together in the same script?
actually I don't know a lot about scripting but I would have thought they need to call the face you want the script you want them to play on
|
|
Robin Peel
Registered User
Join date: 8 Feb 2005
Posts: 163
|
10-14-2008 02:21
Yes, the texture animation for both faces stop. It does not matter if its one script or with 2 scripts each controlling the animation of one face of the prim. Just all stops.
|
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
10-14-2008 06:35
per the wiki: Animates the texture on side of a prim. Only one animation can be run per prim, although all sides of a prim can be animated at the same time by setting side to ALL_SIDES.  if you really need 2 diff animations, they would either need to be the same type and number of frames. otherwise, you would need multiple prims
|
|
Robin Peel
Registered User
Join date: 8 Feb 2005
Posts: 163
|
10-14-2008 13:41
Thank you for the replies. Its what I thought.
|