XRBodyModifier3D

A node for driving body meshes from XRBodyTracker data.

XRBodyModifier3D.swift:22
class XRBodyModifier3D

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 motionScale when applied to the skeleton, which can be used to adjust the tracked body to match the scale of the body model.