Roland Posted April 20, 2012 Share Posted April 20, 2012 When using a Third Person view, how do you guys approach the problem of moving the character at the correct speed that syncs with the feet's. I was thinking of make some kind of measuring of the distance between the feet's and then calculate the movement speed from that. If that works it would solve the move speed for run also. Or is this the wrong way to approach this problem? Any better idea. Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Pixel Perfect Posted April 20, 2012 Share Posted April 20, 2012 Exactly Roland, let the animation drive the motion. I use bones in the feet to measure the distance moved per animation and apply that. Good bye to foot skating and it also works beautifully when blending animations, which is almost impossible to calculate otherwise as its constantly changing in the initial frames. Animation movement is then directly linked to the animation speed and always in sync. The NPC in this video I posted some time back demonstrates this technique in action: kingdom of soul path finding and animation demo 1 Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Roland Posted April 20, 2012 Author Share Posted April 20, 2012 Thanks. Good to hear that I'm on the right track. Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Roland Posted April 20, 2012 Author Share Posted April 20, 2012 Have tested now. It becomes almost to real. Needs some smoothing and it works just nice. Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
LordHippo Posted April 21, 2012 Share Posted April 21, 2012 There is a good talk about animation driven locomotion in GDC12. You can find it in the free section of gdcvault. But I think driving the character's position completely from animations is not a good idea. Cause you know sometimes artists and designers does not have the same interests Quote Ali Salehi | Programmer Intel Core i3 2100 @ 3.0GHz | GeForce GTS 450 | 4GB DDR3 RAM | Windows 7 Ultimate x64 LE 2.50 | Visual Studio 2010 | RenderMonkey 1.82 | gDEBugger 5.8 | FX Composer 2.5 | UU3D 3 | xNormal 3.17 Link to comment Share on other sites More sharing options...
cassius Posted April 21, 2012 Share Posted April 21, 2012 I just set the speed of movement I need and then tweak the anim speed until it looks right. Not very technical but seems to work. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Pixel Perfect Posted April 21, 2012 Share Posted April 21, 2012 I just set the speed of movement I need and then tweak the anim speed until it looks right. Not very technical but seems to work. Thats ok for a constant speed but when accelerating its almost impossible to calc the required motion as its constantly changing whilst accelerating. You notice this most when blending from one motion to another for example idle to walk or walk to run. But I think driving the character's position completely from animations is not a good idea. Cause you know sometimes artists and designers does not have the same interests Sure, there is no perfect system, all systems have their advantages and disadvantages. I can override my system at any time and under certain circumstances do so. As designers we tend to design and refine our mechanics to reflect what we need to do. Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
cassius Posted April 22, 2012 Share Posted April 22, 2012 blending is something I have never understood despite reading the anim tutorial. Maybe someone could explain it in words of one sylable. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Pixel Perfect Posted April 22, 2012 Share Posted April 22, 2012 It's where you effectively blend one animation into another by progressively adding more weight to the new animation as time goes by. The two animations are interpolated all the way through the process based on the weightings which effectively results in say a walk animation smoothly morphing into a run animation. You've probably seen something similar in adverts where they make one persons face change into another then another. You can in fact blend more than two animations together simultaneously and layered systems for doing this are common in game engines. Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.