Joint:setUserData
EditAssociates a Lua value with the Joint.
Joint:setUserData(data)
Arguments
Name | Type | Description |
data | * | The custom value to associate with the Joint. |
Returns
Nothing
Notes
Set the user data to nil
to clear any existing reference.
The user data is not shared between threads. Each thread has its own user data for the Joint.