- Joined
- Jul 5, 2021
- Messages
- 794
- Reaction score
- 1,263
- Points
- 108
- Location
- Cislunar Space
- Website
- www.orbiter-forum.com
So I'm trying to get the current VECTOR3 direction of the camera in the VC.
Right now, I'm using oapiCameraGlobalDir() to get the camera direction and Global2Local() to convert it to local vessel coordinates, but it doesn't work. The result is nowhere close to where the camera is actually pointing in the VC however.
Any help would be appreciated, thanks!
Right now, I'm using oapiCameraGlobalDir() to get the camera direction and Global2Local() to convert it to local vessel coordinates, but it doesn't work. The result is nowhere close to where the camera is actually pointing in the VC however.
Any help would be appreciated, thanks!