modular-avatar/docs/i18n/ja/docusaurus-plugin-content-docs/current/reference/bone-proxy.md
2022-11-08 20:32:19 -08:00

1.2 KiB

Bone Proxy

Bone Proxy

The Bone Proxy allows you to place objects from your prefab inside of objects that are part of the original avatar. For example, in the Clap sample, this is used to place contacts inside the avatar's hands.

Bone Proxy will also adjust any animators referencing the old location of the objects so that they reference the new paths after the objects are moved.

When should I use it?

Bone Proxy should be used when you have objects that you want to place inside of existing objects inside the avatar.

When shouldn't I use it?

Bone Proxy isn't intended to be used to configure clothing. Try using Merge Armature instead.

Setting up Bone Proxy

Add the Bone Proxy component to an object in your prefab, and drag the destination of this object to the "Target" field. The Bone Proxy-annotated object will then be placed inside the target object.

Usage in prefabs

The Bone Proxy component automatically translates the object you specify into a humanoid bone and relative path reference. This ensures that it can restore this reference automatically after it is saved in a prefab.

If you want to adjust the internal references, you can see them in the Advanced foldout.