Environment Physics
Launch physical projectiles into the room that dynamically collide with and bounce off the live environment depth mesh using Rapier3D physics.
Desktop Controls (User Mode)
- Launch Projectile: Left-click to fire a physics projectile in the direction you are looking.
- Move Camera: Use W, A, S, D to move forward, left, backward, and right.
- Elevate Camera: Use Q and E to move down and up.
- Rotate: Right-click and drag the mouse to look around.
XR Controls
- Launch Projectile: Ray-pinch with hands or pull the controller trigger to fire projectiles into the physical room.
main.js