Question by
ahmadgunawan957 · Jan 31, 2021 at 06:19 AM ·
animationrotation3d
Error on animation rotate, rotation animation didnt work as it should
(sorry for bad grammar) So i just wanna rotation animation on my gun (game object). I press record then rotate the gun a little bit but i found 350 error on the console, and my gun rotating to diffrent direction, also no transition, just like "blinking".
here's the error message:
Assertion failed on expression: 'CompareApproximately(SqrMagnitude(result), 1.0F)'
UnityEditor.AnimationUtility:SetEditorCurve(AnimationClip, EditorCurveBinding, AnimationCurve)
UnityEditorInternal.AnimationWindowUtility:SaveCurve(AnimationClip, AnimationWindowCurve)
UnityEditorInternal.AnimationWindowState:SaveCurve(AnimationClip, AnimationWindowCurve, String)
UnityEditorInternal.AnimationWindowState:SaveCurve(AnimationClip, AnimationWindowCurve)
UnityEditorInternal.RecordingState:SaveCurve(AnimationWindowCurve)
UnityEditorInternal.AnimationRecording:AddRotationKey(IAnimationRecordingState, EditorCurveBinding, Type, Vector3, Vector3)
UnityEditorInternal.AnimationRecording:ProcessRotationModifications(IAnimationRecordingState, Dictionary`2&)
UnityEditorInternal.AnimationRecording:Process(IAnimationRecordingState, UndoPropertyModification[])
UnityEditorInternal.AnimationWindowControl:ProcessAutoKey(UndoPropertyModification[])
UnityEditorInternal.AnimationWindowControl:PostprocessAnimationRecordingModifications(UndoPropertyModification[])
UnityEditor.Undo:InvokePostprocessModifications(UndoPropertyModification[])
and here is the screenshoot
screenshot-148.png
(295.1 kB)
Comment
Your answer
Follow this Question
Related Questions
Need Help With Having Enemy Arms Pointed at Player 1 Answer
Problems when rotating object to animate in Unity 1 Answer
Animation layer plays animation in wrong direction 0 Answers
Animations unwanted movement and rotation after updating 0 Answers
Problem with rotating object that has animator attached 1 Answer