I've finally converted my animation routines to be animation driven to get around issues with foot skating which were cropping up from time to time. So now the only speed that is ever set is the animation speed and any forward motion of the model is driven by the animation itself. This is really effective with blended animations as the forward motion no longer has to be calculated independently but is now a direct function of the animation and as a result is always perfectly in sync. Controlling the movement of the model directly gives 100% perfect results. Using a character controller (as I am doing) results in a slightly looser control as you are not directly controlling the end position of a movement but effectively applying a force in a direction in order to get you there. However, in practice it's proving to be effective enough with pretty much constant motion with no skating at differing animation speeds and frame rates. I'm satisfied that this is working well enough now to plug it into my Game Engine/Editor.
Next up is work on procedural animations to be blended in with existing skeletal animations.
Sunday, 23 January 2011
Subscribe to:
Post Comments (Atom)
Requesting video :)
ReplyDeleteI'll be releasing another soon enough VeTaL ... with hopefully a lot more to show. Just need to get a few more things sorted first :)
ReplyDeleteI'm working on Chris's IK project now, continuing his development, i'll publish it in a week, i think.
ReplyDeleteHope it would help you.
That’s great. I'd really like to integrate IK ability into the character (NPC) movement but have considered that non essential before developing some underlying AI for the game engine. But IK and Ragdolls would improve the look and realism greatly.
ReplyDeleteI'll be interested to see what you manage to do with Chris's code though. His locomotion and animation blending system is really quite advanced. I wish you luck. What specifically are you looking to improve / add ?
It's my Master's project in University, so i'm collecting all algorythms of IK to compare them.
ReplyDeleteBut for now i just need a model for IK, i got some problems with convertation:
http://leadwerks.com/werkspace/topic/3610-request-convertion-solider-model-to-gmf/