I’m attempting to have my ArcRotateCamera update the rotation of the target that I’m following. The goal being that when the camera pans left/right, the target (my player) updates itself. Here’s a quick video of my implementation:
The first few seconds demos how I want the action to operate (camera always behind the target). I managed to get this working with the keyboard but not with the mouse action (left right pan). My goal is to calculate the angle of the ArcRotateCamera and modify the rotation of the character to always have his rear to the cam.
I think this may be pretty simple. I believe I saw an example of an answer in my research but it didn’t quite work using Euler Angles. I believe there’s a function that will translate the alpha/beta into radians?