Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
XRCamera3D
Inherits: Camera3D < Node3D < Node < Object
A camera node which automatically positions itself based on XR tracking data.
Description
A camera node which automatically positions itself based on XR tracking data.
Note: Due to the nature of headsets, camera positioning needs to update every frame even when your game is paused. Node.process_mode must be set to Node.PROCESS_MODE_ALWAYS.
Tutorials
Properties
physics_interpolation_mode |
|
|
process_mode |
|
|
|
Property Descriptions
StringName tracker = &"head" 🔗
void set_tracker(value: StringName)
StringName get_tracker()
The name of the camera tracker we're bound to. Which trackers are available is not known during design time.
The default tracker refers to the HMD position of the main player. Consult the documentation of the XRInterface for any additional trackers. There may be additional tracked headsets for multiplayer systems or a tracker may be available for a physical camera in a mixed reality scenario.