Get current position of camera in 3D scene #3459
Closed
thaije
started this conversation in
Ideas / Feature Requests
Replies: 2 comments
-
Hi @thaije, I don't think this is possible at the moment. But I created PR #3465 to add a new |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @falkoschindler for the quick reply and pr. This would indeed solve the issue! 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hey all,
Has anyone figured out if it is possible to get the correct current camera position from a 3D scene?
It is possible to change the camera with
scene.move_camera()
, and also get the position usingscene.camera
, but the positions from the camera aren't updated when the user drags the camera around in the scene it seems.We are using the 3D scene to visualize a robot that autonomously explores an environment with detections being added as objects in the scene. When the user zooms in or out I would like to dynamically scale the objects in the 3D scene so they remain properly visible and clickable.
If anyone has any leads or tips on how to fix this, let me know! 😄
minimal code example
Beta Was this translation helpful? Give feedback.
All reactions