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