Replies: 2 comments 3 replies
-
The usage of Thanks for highlighting it! |
Beta Was this translation helpful? Give feedback.
1 reply
-
It looks like there are a few places you forgot in phantom_camera_3D.gd: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a project I am working on, I am integrating an external physics engine that uses a different axis orientation (Z+ up) from Godot itself (Y+ up). I deal with that by rotating my world in Godot by 90 degrees. This also means I need to treat the cameras a little differently but I've managed to make that all work except for one thing: target tracking.
After a bit of experimentation with the phantom-camera code it boils down to using get_global_position() instead of get_position() when retrieving the position of a tracked target. Of course this is a trivial change I could make myself (in a few places) but I am wondering if it would be possible to support my use case? For example by making this a parameter of PhantomCamera3D (use_global_position)?
Beta Was this translation helpful? Give feedback.
All reactions