xb-physics
OfficialAdd realistic physics to XR experiences with Rapier3D
Authorgoogle
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill adds realistic physics to XR experiences, enabling objects to interact with the environment through gravity, collisions, and depth-aware geometry.
Core Features & Use Cases
- Rigid-Body Physics: Integrate Rapier3D for physics simulation, including gravity and collisions.
- Depth-Aware Collisions: Use depth-mesh colliders for accurate object interactions with the real environment.
- Use Case: Create immersive XR applications where objects interact with the environment in a lifelike manner, such as ball pits or interactive physics-based games.
Quick Start
Initialize physics in your XR Blocks app with Rapier3D by setting options.physics.RAPIER = RAPIER in your script.
Dependency Matrix
Required Modules
@dimforge/rapier3d-simd-compat
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: xb-physics Download link: https://github.com/google/xrblocks/archive/main.zip#xb-physics Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.