Up to date
This page is up to date for Godot
If you still find outdated information, please open an issue.
A spatial node that has its position automatically updated by the XRServer.
This node can be bound to a specific pose of a XRPositionalTracker and will automatically have its Node3D.transform updated by the XRServer. Nodes of this type must be added as children of the XROrigin3D node.
get_has_tracking_data ( ) const
get_is_active ( ) const
get_pose ( )
tracking_changed ( bool tracking )
StringName pose =
The name of the pose we're bound to. Which poses a tracker supports is not known during design time.
Godot defines number of standard pose names such as
grip but other may be configured within a given XRInterface.
StringName tracker =
The name of the tracker we're bound to. Which trackers are available is not known during design time.
Godot defines a number of standard trackers such as
right_hand but others may be configured within a given XRInterface.
bool get_has_tracking_data ( ) const
bool get_is_active ( ) const
XRPose get_pose ( )
Returns the XRPose containing the current state of the pose being tracked. This gives access to additional properties of this pose.
Triggers a haptic pulse on a device associated with this interface.
action_name is the name of the action for this pulse.