- Home /
Frame offset in animation.
Hey, i'm new to Unity and I try to do a MMO-RPG, and at an animation there is one frame of in the y position, it's a fight animation where this perticular frame is a little larger in y than the others. Is it possible to move ONLY that frame in y and if so, how do you do this?
Answer by JonPQ · Dec 21, 2018 at 10:45 PM
If you have the source animation.. its best to fix it in the artist animation package such as maya. If you dont have it, you can still fix in unity... click on your model with animator. open animator and animation windows. With your model still selected, you should be able to select the nimation in the animation window drop down in top left... and animate the model by draging the timeline slider across in the animation window to see it update, and find the 1 frame with the bad Y offset. Then click the record button. and drag the transform of your character in Y to fix position..... be careful to get the right bone, it might not be the root.. it might be a helper bone or pelvis. Once fixed. turn off the record button. and try slider again to make sure it looks smooth. If it looks like the animation file is read only... then clone it in unity, and edit the clone instead. and change your animator tree to use the cloned version.
Your answer
Follow this Question
Related Questions
How to reuse frames in a 2D animation? 2 Answers
Compile error with animator 1 Answer
2D Sprite animation - How do I jump to the next frame? 0 Answers
I want to create an animation with multiple sprites images on a prefab ? 0 Answers
Mecanim Animation Event is Triggering Every Frame When it is Mirrored 1 Answer