BreakObject
Jump to navigation
Jump to search
This function breaks a specific object. Note: Only breakable objects can be broken.
Syntax
bool breakObject ( object theObject )
Required Arguments
- theObject: An object element
Returns
Returns true if the object was successfully broken. false if the object is not breakable, or a wrong object was given.
See Also
- createObject
- getObjectScale
- moveObject
- setObjectScale
- stopObject
- getObjectMass
- getObjectProperty
- setObjectMass
- setObjectProperty