Jump to content

Blended poses with threads?


saindd

Recommended Posts

I'm trying to replicate some behavior from other engines in T3D's animation system, specifically threads and blends. I have a walking animation set, in 4 directions, and the player has no pose for the arms. However, i also have a single keyframe of the character holding a sword and another a bow. How can i blend that single-frame animation (pose) of the character aiming a weapon with the movement animations? I really don't want to create the same walking animations over and over again, for each kind of weapon i end up creating (since it's a medieval game, i have a shitload of poses to work on: swords, bows, crossbows, magic spells, etc.

Link to comment
Share on other sites

I don't think you got the issue. I don't have an animation for each weapon type, just a pose for the aim position. I want to blend the positions defined in that pose with the rest of the keyframes in the walk animation, dynamically creating the walking animations for each weapon type.


https://docs.unrealengine.com/latest/INT/Engine/Animation/AnimHowTo/AdditiveAnimations/

http://udn.epicgames.com/Three/AdditiveAnimations.html

http://www.gamasutra.com/view/feature/3456/animation_blending_achieving_.php

Link to comment
Share on other sites

You don't need animations for that at all, you don't blend hand animations with walk animations, since they are automatically blended, since you only animate the legs for walking and only the hands for aiming.

In Torque you have "Head" and "Look" sequence, those define head movement and look direction, so you already have 3 animations that are blended into one or over other animations, look it up here: http://docs.garagegames.com/torque-3d/official/content/documentation/Artist%20Guide/Primer/torque_character_primer.html

Link to comment
Share on other sites

Yes, but that was exactly what i was trying to avoid. Checkmy first post. I didn't want to have thousands of animation files pre-baked for something that could be done in realtime.


BTW, here's how a model looks with a single-frame animation blended with a walk animation:


http://i.imgur.com/AJiqONa.jpg


It seems to be blending the root pose in there, due to the position of the arms, but it's not doing any subtraction or addition between the selected animations.

Link to comment
Share on other sites

You don't need "thousands" of animations, just one for each state. So you have one pose without weapon and one with weapon, this makes two.

So you will have the root pose, which will be the position of the character without weapon, then you make another sequence called "weapon_root" or so, this will be the root when you holding that weapon, the animation will have the hands moved into place, nothing else and the rest of the animations are blended in from other sequences.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...