- Home /
Problem with simple rotation when use animation of gameobject
Hello guys I have a problem with an animation of a rotation of gameobject. if I make a 30-degree rotation on the y-axis, and register the start and end-point, when I go into play he make too much rotation and the degrees on inspector are -3.410548e + 07 and not 30.
Do you have any suggestion?
Thank you
Answer by xxmariofer · Apr 15, 2019 at 09:59 AM
well the animations adds "x amount" of rotation each frame, so thats why its not 100% accurate and the higher the step the higher the offset, can you use the Lerp method it will be 100% acurrate or just add ean event at the end of the animation that rounds to int.
Your answer
Follow this Question
Related Questions
Removing Bone From Hierarchy Animation/Bone Rotation During Animation Problem[Humanoid] 0 Answers
Mechanim Rig Rotation 0 Answers
Character animation rotates wrong 0 Answers
Tank Wheels and Treads 1 Answer
Legacy Animations ignore Rotation 0 Answers