I’m having a hard solving an issue trying to get my camera to face my player at all and not change orientation at the north and south poles as shown in orange.
Current set up :
My camera hovers above the player (this works)
The rotation is updated with the [ Find Look at Rotation ]. This will face my camera at the player at all times, but I do not want the camera to rotate 180 when the pitch is -90 as shown on the picture. I want the camera to keep facing the same orientation it was earlier for example the numbers I’m currently getting for rotation are:
[-53, 180, 0]
[-63, 180, 0]
[-73, 180, 0]
[-90, 0, 0]
[-76, 0, 0]
[-63, 0, 0]
[-53, 0, 0]
When actually watching the ball roll up the moment it hits the north pole the camera will rotate 180 degree and the player will roll down, but I want it to be seen as the player still constantly rolling up. So the camera is rotating based off the relative direction the player is going rather than the global orientation.