| Parameter | Description |
|---|---|
| joints | The joints to set the callback target on. |
| callbackTarget | The callback target to set on every joint, or NULL to remove it. |
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 Object that event callbacks will be sent to on a batch of joints. Each joint is assigned the callback target as PhysicsJoint.callbackTarget would, and setting it to NULL removes it.
This is faster than setting PhysicsJoint.callbackTarget on each joint.