Variable MixamoRigMappingConst
Example
xr.featuresManager.enableFeature(WebXRFeatureName.BODY_TRACKING, "latest", {
bodyMesh: myMixamoMesh,
isMixamoModel: true,
});
Or, if you want to extend or customize it:
import { MixamoRigMapping } from "@babylonjs/core";
const rigMapping: XRBodyMeshRigMapping = { ...MixamoRigMapping, [WebXRBodyJoint.NECK]: "MyNeckBone" };
Default rig mapping for Mixamo-rigged humanoid characters.
Maps each supported WebXRBodyJoint to the corresponding Mixamo bone name, without the
mixamorig:prefix. When the feature applies this mapping, it auto-detects whether the skeleton uses themixamorig:prefix and prepends it as needed, so the same table works for both prefixed and unprefixed exports.