Why is “Math.atan(temp.y)” used here
Hi @Shpz and welcome,
That’s some trigonometry to calculate the initial azimuth/elevation (yaw/pitch) of the camera, so later on when input starts coming in the scripts add the delta only.
Thanks reply, my english is bad, please excuse me. I didn’t understand the gemotric meaning here.
The place marked by the red line