- Home /
animation type generic problem
i make character with animation type is generic, but i have problem, when my character use walk animation, then my character back to the starting place, this never walking forward, always back to first place his start,
Answer by awaismazhar999 · Jun 15, 2017 at 09:13 AM
Dear @username This problem arises because the Walk Animation clip you are using is running in loop. When the clip is finished, your character moves to the position from where the animation is started. the Simple solution is to change the animation clip. Some other solutions are:
1-Change Animation Walk clip to WalkInPlace clip and then translate character via scripting. 2-Click on Animation Clip from project, then from inspector panel go to animation and check the property "Bake into
Transform" of Root Transform Position (Y) and Root Transform Position (XZ). After that translate your character via scripting.
thanks for comment, but this is generic, there is no "Root Transform Position (Y) or Root Transform Position (XZ)"
Click on the .Fbx file containing this animation clip and then go to animation tab.
Your answer
Follow this Question
Related Questions
Mecanim Animation won't play with Generic type selected 1 Answer
Animated character keeps jumping back to start position 0 Answers
(GIF attached) Generic Type animation play accurately while Humanoid Type offset 0 Answers
Can the animation editor create local rotational data? 3 Answers
Adding animation clips via script 2 Answers