Animation easing adding a "bounce" to my animation

Hey guys,

I’ve got a light moving back and forth. It’s a flat XRotate, as it is supposed to be very mechanical (it’s a searchlight). For some reason, in Unity the animation has a bounce added when it stops. By this I mean it goes past its stop position, slows and bounces back to the correct place.

Why is Unity adding that in, and how can I get rid of it?

Thanks,
C

bump for great justice.

How are you doing the animation (animation clip from the editor, lerping the position…) ?

It’s an animation on the .fbx that came in when i imported the asset. Just put the start and end frames in the inspector when i brought it in.

it probably has something to do with also how lights fade in and fade out the same type of way. Looks really bad tbh :confused:

What software did you animate it in?

Maya

I am experiencing this exact issue. Have you found a solution by any chance?

I created my animation in Maya, used all linear tangents with no soft interpolation or easing and exported as Fbx. Even when I try to use the Maya binary format it does this. I am also creating several mechanical objects that should not behave this way. I tried to adjust in the Unity Animation editor and it will not let me, says Read-Only, and will not let me access the keys.

Also, I have tried to changing from Quaternion Interpolation to Euler Angles in the Fbx export and this has not helped.

If you have staggered keyframes in maya Unity will add keys to the beginning and end of the animation to make all the curves for each of the channels an equal length. In doing this it uses a spline interpolation which adds a bounce which isn’t seen in Maya.

What you can do is set keys for all the channels that are being animated in Maya so they all begin and end on the same frame regardless of whether they are moving at that point in time or not.

You could also copy the animation clips in unity. This will then allow you to edit the curves and tangents. Keep in mind you will have to apply the new copied animation to the object’s animation component and any revisions to the animation in the Maya file will not be applied unless you copy and link up the new animations. Hope this helps.