hey gang, trying to fix my quaternion.slerp so it slowly turns to face the target, but it spins really fast
(doesn’t seem to matter if TurnSpeed is 12, or 0.1) its always at the same speed rather then turning slowly turning…
Where and how do you set TurnSpeed? Keep in mind if it’s a public variable it is serialized and the value can only be changed in the inspector.
Also keep in mind that you don’t actually do a spherical linear interpolation but a precentage based non-linear rotation that is fast in the beginning and slows down the closer you get to your target rotation. This is because you use the current rotation as start rotation. Slerp (as well as lerp) is ment to have it’s “from” and “to” parameters constant and you usually move the “t” value from 0 to 1 over time.