float angle = Vector3.Angle(_movingDirection, direction);
transform.Rotate(new Vector3(0, 0, -1),angle);
I’m trying to make smooth rotation. help me !!!
float angle = Vector3.Angle(_movingDirection, direction);
transform.Rotate(new Vector3(0, 0, -1),angle);
I’m trying to make smooth rotation. help me !!!
I think you are forgetting to add Time.deltaTime so it is called every frame.