Hi all,
I have this line of code:
body_Transform.rotation = Quaternion.FromToRotation(-body_Transform.up, direction_Vector3) * (body_Transform.rotation);
that changes a game object’s rotation so that it stands feet-down on the planet it is on.
It works all right, but I want it to smoothly (though still quickly) rotates to the intended position.
As it is, the object just snaps to the correct position. Can anyone help me smooth it out?