| Parameter | Description |
|---|---|
| physicsUserData | The user data to set. |
| ownerKey | Optional owner key returned when using PhysicsShape.SetOwner. |
Set PhysicsUserData that can be used for any purpose, typically by the owner only.
| Parameter | Description |
|---|---|
| shapes | The shapes to set the owner user data on. |
| userDatas | The user data to set, one entry per shape. |
| ownerKey | Optional owner key returned when using PhysicsShape.SetOwner. |
Set PhysicsUserData on a batch of shapes that can be used for any purpose, typically by the owner only. The shapes and userDatas spans must be the same length; shapes[n] receives userDatas[n].
| Parameter | Description |
|---|---|
| shapes | The shapes to set the owner user data on. |
| physicsUserData | The user data to set on every shape. |
| ownerKey | Optional owner key returned when using PhysicsShape.SetOwner. |
Set the same PhysicsUserData on a batch of shapes that can be used for any purpose, typically by the owner only.