Table of Contents

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

StringName

Remarks

body_update

Specifies the body parts to update.

var body_update : int = 7

Property Value

int

Remarks

  • void set_body_update(int value)
  • int get_body_update

bone_update

Specifies the type of updates to perform on the bones.

var bone_update : int = 0

Property Value

int

Remarks

  • void set_bone_update(int value)
  • int get_bone_update