WebXR (VR) GDevelop extension - available now!
Build fully immersive VR games in GDevelop — no coding required. This extension family brings the WebXR API into GDevelop’s event-sheet workflow, giving you spatial tracking, controller input, physics-driven interactions, and a complete inventory/holster system out of the box.
Free to use. Works in the browser on Meta Quest and any WebXR-compatible headset.
What’s included
- VR Session & Head Tracking
- Start and stop VR sessions from your event sheet. The VrHeadAnchor behavior locks a GDevelop object to the player’s headset each frame — your scene moves with the player automatically. Configure world scale (how many GDevelop units equal one real-world meter) to match any scene size.
- Controller Tracking
- Attach the VrController behavior to a 3D object to track either hand.
- Physics-Based Grabbing
- The VrGrabbable behavior lets players pick up, hold, and throw any 3D object.
- Holsters & Inventory
- Keep items on the player’s body with VrBodyZones and VrHolster behaviors.
- Archery System
- A complete bow-and-arrow system ready to drop into any scene. VrBow and VrArrow behaviors work together like a charm.
- Levers, Sliders & Buttons
- VrInteractable turns any object into a grabbable lever, slider, or button. Set the axis and range in the property editor; read the current value in events to drive doors, dials, or any game mechanic.
- Point-and-Select
- VrSelectable makes any object respond to the controller’s laser ray or a physical touch.
- VrTargetable detects when a controller ray is aimed at any 3D object, including non-grabbable targets, enemies, and props.
- Climbing
- VrClimbable lets players grip any surface and pull themselves up. Configure grab radius, launch scale on release, and mantle boost.
- Doors & Keys
- VrDoor adds rotating and sliding doors driven by the same physics-grab model used elsewhere in the extension. Lock/unlock via events or with a VrKey: drop a key object into the door’s key zone and it snaps into the keyhole (only keys with matching tags dock), auto-unlocking the door.
- Smooth and Teleport locomotion
- VrTeleport fires a projectile arc from the controller and teleports the player to the landing point on release. Mark any surface as a valid landing zone with VrTeleportable.
- Or use battle-tested PhysicsCharacter3D from GDevelop for smooth locomotion.
- Floating Objects & HUDs
- VrFollower keeps any object at a fixed offset from a target — useful for in-world HUDs, floating menus, wrist displays, or floating holsters above the player’s waist. Three rotation modes:
Download it at: https://avram.itch.io/webxr-gdevelop-extension