Unity 2d Animation
So guys i have made this 2d platform where the play walk left and right so everything is good but when i walk and the walking animation turns on and it looks perfect buuuut it feels more like sliding than walking, how can i make it feel more like walking than sliding. Any help will be much appreciated. Any at all I know i don't have any reference code but i am just looking for advice.
Answer by UnityCoach · May 14, 2017 at 10:42 AM
When you deal with 3D animations, there's all the Root Motion stuff to do it for you, but in 2D, there's nothing AFAIK.
So, you need to
position the pivot properly on every sprite of your animation so that it follows a linear motion in world space, if this isn't enough
then you need an animation curve that contains the root motion (the delta between the pivot and the center of mass of your character), I recommend using an AnimationCurve for this, and
as you translate your character, you want to use that AnimationCurve to translate the right distance based on the animation loop timing
This is probably easier that it sounds, it all depends what you used to make your animations in the first place. Good luck!
Any chance for a video/screenshot reference? Not sure where to start on this.
Your answer
Follow this Question
Related Questions
Player animation doesn't want to stop 0 Answers
How do I create a Continuous Turn in XR for my VR Rig instead of Snap Turn Provider? 0 Answers
How can I prevent my player from flying when i use the space bar? 0 Answers
AnimationOverrideController does not set clip. 1 Answer
Can't Resources.Load ScriptableObject in Static class 0 Answers