I’m trying to create Arcade Car Controller and my main problem is to rotate car’s model smoothly. How can I do this? Here’s my code:
if (Physics.Raycast(ray, out hitInfo, 2.0f, GroundMask))
{
kartModel.rotation = Quaternion.FromToRotation(transform.up, hitInfo.normal) * transform.rotation;
}