2D smooth rotation (Quaterion slerp solution?)
What I am trying to do is rotate a sprite around it's center smoothly so that the collider maintains physicality while it rotates, but have it rotate immediately using 'Input.GetButtonDown'. I have already tried
void RotateLeft() {
transform.Rotate (Vector3.forward * -90);
Which achieves the rotation but does not maintain it's box collider through the motion. I have also tried looking into quaternions and slerp functions but have not found a solution... I'm still new to this so any help is greatly appreciated! <3
Your answer

Follow this Question
Related Questions
How can I make the camera not overreach a limit of rotation one axis. 0 Answers
How can I add inertia to a rotation when I release the mouse? 1 Answer
How to apply script to a imported OBJ file in unity? 0 Answers
how do i rotate an object? C# 1 Answer
How to rotate a ship using the right analog stick? 0 Answers