In a nutshell, I’m trying to recreate pole climbing similar to that of Super Mario 64. I have a character who can grab a pole and rotate around it. The player can rotate the camera around the player a full 360 degrees. I’ve attached a screenshot. Here’s my problem - right now I’m rotating around the pole using RotateAround:
transform.RotateAround(position, Vector3.up, (lookDir.x * 150f) * Time.deltaTime);
This works, but doesn’t take into consideration the screen orientation.
Think about it like this: if the camera is directly BEHIND the character and you press left, you would expect the character to rotate towards their left (and towards the screen’s left side). If the camera is directly IN FRONT of the character and you press left, you would expect the character to rotate towards their right (and towards the screen’s left side - the second image illustrates this).