Collider:setUserData
EditAssociates a custom value with the Collider.
Collider:setUserData(data)
Arguments
Name | Type | Description |
data | * | The custom value to associate with the Collider. |
Returns
Nothing
Notes
User data can be useful to identify the Collider in callbacks.
See also
Collider:getUserData
Collider