mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Exposed blowUp method to console.
This commit is contained in:
parent
c75d6feb20
commit
ce73a6b11a
2 changed files with 8 additions and 1 deletions
|
|
@ -4613,6 +4613,11 @@ DefineEngineMethod( ShapeBase, isEnabled, bool, (),,
|
|||
return object->getDamageState() == ShapeBase::Enabled;
|
||||
}
|
||||
|
||||
DefineEngineMethod(ShapeBase, blowUp, void, (),, "@brief Explodes an object into pieces.")
|
||||
{
|
||||
object->blowUp();
|
||||
}
|
||||
|
||||
DefineEngineMethod( ShapeBase, applyDamage, void, ( F32 amount ),,
|
||||
"@brief Increment the current damage level by the specified amount.\n\n"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue