Replies: 1 comment
-
What I ended up doing is passing an extra system flag to the camera definition:
It works fine for a single-camera scene, but in case of multiple cameras there is no guarantee, that the active camera is the one that is going to be used for picking. |
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
-
I'm currently working on object picking by implementing an extra system. Passing the active camera to the raycaster is quiet tricky. Can we have an API that would expose current camera or the whole context to a system and rendering callbacks?
Beta Was this translation helpful? Give feedback.
All reactions