Game Development Community

How do I blend animation sequence for character action?

by King · in Torque Game Engine · 05/29/2005 (5:23 am) · 2 replies

I have some animation sequence(Exported to DSQ), but I don't know blend them in TGE.

Have any Torque Game Engine Tutorials for blend animation sequence??

#1
05/29/2005 (6:43 am)
King: If your wanting to know how to blend them in game, then start with the player.cc file and locate the section of code that deals with blending the arm and head animations.

The arm and head animations deal with blends that flow between 2 extremes and starting your search around line 1786 would prove useful.

The weapon recoil blend animation does not deal with 2 extremes, but only blends a straightforward sequence. Around line 2256 is a good place to start if that is the type of blend your looking to create.

All of this assumes your trying to expand the curent animation support layer to provide additional features. If you just want to replace what is there, then obviously just replace the existing dsq's and test your blends in the show tool. I personally use the showToolPro, and can say that it saves time when working on blends and animation. Well worth the $35.

I have recently started expanding the animation routines in the player class myself, but I still use the showtoolpro to view blends and animations. I just load the dts file, then add the dsq manually and see if the blend is working correctly.

Also, a good resource to give you a starting point to adding animations can be found here:

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4348

Hope that helps you.

B--
#2
05/29/2005 (7:05 am)
Ok.

Thank you for your help. :)