2D overlays #36
Replies: 3 comments
-
Do you maybe have an example of what you wish to accomplish? |
Beta Was this translation helpful? Give feedback.
-
Something like this ThreeJs example, where you can get the coordinates of objects with a projection of the current camera: https://r105.threejsfundamentals.org/threejs/lessons/threejs-align-html-elements-to-3d.html |
Beta Was this translation helpful? Give feedback.
-
@dreamsinmotion in theory you can already access objects in camera and achieve this. But an easier way would probably be to use the new three.js or react-three-fiber exports that allows more control over the scenegraph (but also shift more responsabilities your way). Moving this into discussions :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, it would be nice to be able to create 2D overlays using objects or null objects as the base reference relative to the camera perspective. For example button components, text, ...
Beta Was this translation helpful? Give feedback.
All reactions