Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

two stage animation

Phaedrus Kuroda
Pixel Pusher
Join date: 30 Jun 2004
Posts: 41
09-06-2004 14:45
So I have successfully made my first animation for Second Life and now I want to do more. How does one manage to make a two stage animation such as the hold_r_handgun. In that animation are two states: gun held out in front (upper arm down, elbow bent out) while not in mouse look and then thrust straight out when in mouse look. How does that work? I want a different standing pose for the gun when not in mouse look, and to make a better gun pose when in mouselook. I can do the poses, but I need to know how to make the two different states work. Also, how does one make it only affect the arms, so one can walk around and look normal while this anim is playing? Thank you all in advance for your input.
Beau Perkins
Second Life Resident.
Join date: 25 Dec 2003
Posts: 1,061
09-08-2004 10:18
You need to do this in a script. Start the first pose when the gun is attached, when it is fired stop that pose and start your animation#2. I sell a bazooka that demonstrates this. After the shot is fired, you stop the animation #2 then start the original pose again.

You may have to use a slight delay when the shot is fired to make it align up with the animation. In mine, when the mouse left button is pressed the animation starts, there is a half second sleep command then the shot is actualy fired. I did this just to make realistic.
_____________________