| Parameter | Description |
|---|---|
| bodies | The bodies to set the user data on. |
| userDatas | The user data to set, one entry per body. |
Set PhysicsUserData on a batch of bodies that can be used for any purpose. The bodies and userDatas spans must be the same length; bodies[n] receives userDatas[n].
| Parameter | Description |
|---|---|
| bodies | The bodies to set the user data on. |
| physicsUserData | The user data to set on every body. |
Set the same PhysicsUserData on a batch of bodies that can be used for any purpose.