The root entity of the model to which animation will be assigned
The glTF model containing animation data
The corresponding VRM model that provides humanoid bone mapping
Whether the source and target skeletons are identical
The retargeting mode: 'none' for direct assignment, 'global' for global retargeting, 'absolute' for absolute animation
The root entity with assigned animations
Assigns animation data from a VRMA (VRM Animation) model to a root entity. This method handles humanoid retargeting and expression-weight animation.
The root entity of the model to which animation will be assigned
The VRMA model containing animation data and humanoid bone mappings
OptionalpostfixToTrackName: string
Optional postfix to append to animation track names for identification
Optional root-motion behavior. Existing callers preserve hips translation by default.
An array of animation track names that were created
Retargets the supplied semantic character motions and returns a mapping that can be passed directly to CharacterAnimationController.
Every source track receives a stable semantic suffix, so unnamed or identically named
animations in separate VRMA files do not collide. The suffix is scoped to the target root
entity so tracks from multiple characters also remain distinct. Each supplied semantic VRMA
must create exactly one track; omitted semantics use CharacterAnimationController fallback
behavior. The default root-motion policy keeps
hips translation out of the target skeleton, leaving position and collision resolution to
the physics character controller.
Assigns animation data from a glTF model to a root entity with optional retargeting. This method handles both same-skeleton and cross-skeleton animation assignment.