RotateTowards

How can I get RotateTowards to come to stop a little bit smoother. It seems like the stop is too abrupt and I would like it be softer. I’m using this

transform.rotation = Quaternion.RotateTowards(transform.rotation, rotationTarget.rotation, step);

Look up how to use an easing function to start / end a movement like this.

You could also just install LeanTween or DOTween or ITWeen… they all have great easings for all kinds of position, scale, rotation control, save you a TON of really fiddly coding.

Actually I found out I can do something like this to come to a smoother stop, its probably not the best way

rotationSpeed = Mathf.Lerp(rotationSpeed, 0, .5f * Time.DeltaTime):