Is your feature request related to a problem? Please describe.
Currently, the SDK does not expose a way to perform raycasts from the camera using arbitrary origins and directions. This limits the ability to implement features such as mouse picking, click-to-move, and custom interaction systems.
Describe the solution you'd like
Expose the underlying Three.js Raycaster API, allowing developers to:
- Cast rays from any origin and direction in world space.
- Easily perform raycasts from the camera through the mouse or pointer position.
- Retrieve information about the first object/block/entity hit, including hit position and normal.
Additional context
This feature would enable a wide range of interaction patterns, such as:
- Click-to-move navigation
- Object selection with the mouse
- Custom targeting systems
https://threejs.org/docs/#api/en/core/Raycaster
Is your feature request related to a problem? Please describe.
Currently, the SDK does not expose a way to perform raycasts from the camera using arbitrary origins and directions. This limits the ability to implement features such as mouse picking, click-to-move, and custom interaction systems.
Describe the solution you'd like
Expose the underlying Three.js
RaycasterAPI, allowing developers to:Additional context
This feature would enable a wide range of interaction patterns, such as:
https://threejs.org/docs/#api/en/core/Raycaster