mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-18 20:30:08 +08:00
29 lines
1.2 KiB
Markdown
29 lines
1.2 KiB
Markdown
# Bone Proxy
|
|
|
|
![Bone Proxy](bone-proxy-compare.png)
|
|
|
|
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](../samples/#clap), 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](merge-armature.md) 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. |