Hello,
I want to make a 2d rotation of arrow based on camera.rotationY.
I have tried to use Math.atan2 and get camera.x & camera.y coordinates but it wasn’t right. Than I used camera.project/view.project but still it wasn’t perfect - probably I made wrong calculations. Than I found out that camera.rotationY gives me value I need however the value is between -90 and 90 degrees. Arrow rotate correctly to -90 degrees and than bounce back. I struggling to do the full 360 rotation. Could anyone help me with that issue, please?