I’m trying to make it so that when I click on an object in my level the camera attached to the player will rotate to face that object. I have sort of got it working as shown below but everytime I set the world rotation it jumps back to zero before then updating it. Is there a way to update the world rotation from where the player currently is? I know the code isn’t great but coding isn’t my strong suit. Need to do it for a university project however so I’m kinda stuck.
Thanks in Advance