Closed ThisIsMonta closed 5 months ago
Hi @ThisIsMonta! You can create your own custom camera and add it to the world. The only requirement is that it extends the BaseCamera abstract class. If you have any issues with this, let us know! Closing this for now, as this should allow you to create a camera that fulfill your needs.
Describe the bug 📝
Since openbim-components uses camera-controls package, enabling xr makes the camera gray.
Normal camera with FirstPerson mode enabled :
WebXR camera enabled:
Also after some research, i found out that i have to make a separate camera to enable WebXR for camera-controls package Issue#109.
So is there a way to add a Default threejs camera to the world.camera ?
Reproduction ▶️
No response
Steps to reproduce 🔢
No response
System Info 💻
Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅