Class XRBodyModifier3D
A node for driving body meshes from XRBodyTracker data.
- Inheritance
-
XRBodyModifier3D
Remarks
This node uses body tracking data from an XRBodyTracker to pose the skeleton of a body mesh.
Positioning of the body is performed by creating an XRNode3D ancestor of the body mesh driven by the same XRBodyTracker.
The body tracking position-data is scaled by motion_scale when applied to the skeleton, which can be used to adjust the tracked body to match the scale of the body model.
See Also
Properties
body_tracker
The name of the XRBodyTracker registered with XRServer to obtain the body tracking data from.
var body_tracker : StringName = &"/user/body_tracker"
Property Value
Remarks
- void set_body_tracker(StringName value)
- StringName get_body_tracker
body_update
Specifies the body parts to update.
var body_update : int = 7
Property Value
Remarks
bone_update
Specifies the type of updates to perform on the bones.
var bone_update : int = 0