I’ve worked out the math for how to tween the player to an exact location (in front of the first opponent character) and assumed the rotation would function the same. The math is correct (as shown in some textboxes I’ve included for testing – the camera needs to end up at -45 Y, as shown) and the camera does move, but it doesn’t move to the correct orientation.
A little quick background: I used the Unreal Engine to make 4 iOS mobile games a few years back (here’s the trailer for the last one) and that engine had a neat mechanic for tweening the Player cam to a new, fixed position:
Basically, one just placed a new camera in the desired position and added a simple pre-made script that smoothly transitioned the Player cam to the new cam position, over a specified amount of time.
I used this technique dozens and dozens of times.
Perhaps this could be considered a feature request? In the meantime, I am content to hard-code it, but as I’ve only been learning javascript for a few weeks, any help you all might have in identifying this Player camera rotation issue would be greatly appreciated.