I’m trying to fix MiniMap angle.
I managed to do the code that rotate the MiniMap but I can’t get the rotation of the camera.
I tried using getCameraViewTarget(), getActiveCameraNode()->getOrientation().getPitch().valueRadians() (in CameraManager) to get the angle but I’m getting something going from 0.5 to 2.5 instead of from 0 to 2π (or -π to π, whatever). Plus it’s not evolving correctly, it’s increasing and then decreasing.
Any idea how I could get this information?