|
Keera Zenovka
Registered User
Join date: 23 Mar 2007
Posts: 35
|
10-19-2007 16:46
Is it possible to make a sculpty attachment move(animate) only when the avatar moves?
I've made a sculpty hat and I want it to "wave" around whenever the avatar moves - otherwise, stop moving when the avatar stops. I already created my sculpty animation using llSetPrimitiveParams([PRIM_TYPE, PRIM_TYPE_SCULPT, uuid, PRIM_SCULPT_TYPE_SPHERE]);
My scripting skills are very limited, can someone direct me with detailed instructions?
|
|
Aniam Ingmann
llOwnage(float pwnage);
Join date: 22 Oct 2005
Posts: 206
|
10-19-2007 17:02
That'll probably be very hard on the computer... I suggest twiddling with some nice flexi prims; i don't think sculpties are the greatest way to go unless it's really needed; sometimes the detail may be more important than the "waviness" of the build =p. In a nutshell, if you made the hat control the movement keys, you could have it animate every time you pressed a button; though that would be very hard to set to go the right way. You could also have it set up so that when llGetVelocity() > .2, then.... 
_____________________
From: someone Don't worry, Aniam is here! - Noob
|
|
Keera Zenovka
Registered User
Join date: 23 Mar 2007
Posts: 35
|
10-20-2007 13:11
Sorry, but llGetVelocity() > .2 is over my head at the moment, could someone explain? Unfortunately I want to specialize in sculpty attachments and I would love to be able to learn how to link attachment movement to avatar movement.
Does it have anything to do with moving_start() and moving_end()?
|