| Parameter | Description |
|---|---|
| joints | The joints to set the user data on. |
| userDatas | The user data to set, one entry per joint. |
int The number of joints that were ignored (not set because the joint was invalid). A single warning is logged when any are ignored. If the spans are different lengths, nothing is set and every joint is counted as ignored.
Set PhysicsUserData on a batch of joints that can be used for any purpose. The joints and userDatas spans must be the same length; joints[n] receives userDatas[n].
| Parameter | Description |
|---|---|
| joints | The joints to set the user data on. |
| physicsUserData | The user data to set on every joint. |
int The number of joints that were ignored (not set because the joint was invalid). A single warning is logged when any are ignored.
Set the same PhysicsUserData on a batch of joints that can be used for any purpose.