Game Development Community

blend animations (specifically the 'look' animation)

by Jeff Campen · in Torque Game Engine · 02/21/2002 (12:16 am) · 3 replies

How is the 'look' animation set up. I'm stuck here with Max 3.1 and I am unable to look at the Max File pack from Joe M. Is it only 1 frame long? I sort of derived that from the documentation, but I'm not sure. Do I have to set up some sort of triggers in Max like in the track view or in the properties of the sequence object? Is it supposed to be a blend animation so that the head and arms "look around" with the position of the mouse/camera?

On the same note, what are the different 'look' animations such as looks 'sn' 'ms' and 'nw'? they don't play in the '-show' command for me, so maybe I just have some screwed up animations.

#1
02/21/2002 (1:49 pm)
Those animations tha you mention DO play in show, because I played them. :) You need to open up the thread manager and keep hitting play and stop until they work. :) (in case you dont feel like doing that, the animations are for horizontal head movement (tilting), vertical head titlting, and vertical arm motion.)

To create a look animaiton, do this:
1. Open max.
2. Open your already skinned, scaled, vertex weighted model.
3. Click the animate button.
4. Drag the frame slider to the second frame (you should have 30 or so total frames)
5. Position your player so that he is looking up as high as he can without deforming stupidly. (I think the up is first)
6. Move the time slider to the 30th frame.
7. Point your player down as far as possible.
8. Create a sequence dummy just like you do for all torque animations.
9. Set the beginning and end keys of the sequence dummy to 1 and 30 frames (it might be 2 and 30, cant quite remember).
10. Export the dsq.
11. Open your player.cs script file (or whatever you called it)
12. Add a new line for the look sequence. BE SURE THAT IS IS NAMED "look"!!! (with no quotes, just like the rest of the anims). Torque will not recognize it if it is not properly named.
13. Test.

I think i got it. Have fun. :)
#2
02/21/2002 (7:19 pm)
We have the look animation working now, but how does the falling animation work? I've tried the same thing that I did for the look animation but it's not working.

little help here
#3
02/22/2002 (8:10 am)
I think you maybe need to move the bounding box for the falling one? Just like a walk anima perhaps? Thats just a guess though. Be sure you have the exact name of the sequence.