MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / explode

Method explode

Engine/source/afx/ce/afxProjectile.cpp:360–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358};
359
360void afxProjectile::explode(const Point3F& p, const Point3F& n, const U32 collideType)
361{
362 // Make sure we don't explode twice...
363 if ( isHidden() )
364 return;
365
366 Parent::explode(p, n, collideType);
367
368 if (isClientObject() && client_only)
369 Sim::postEvent(this, new afxProjectileDeleteEvent, Sim::getCurrentTime() + DeleteWaitTime);
370}
371
372//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//

Callers

nothing calls this directly

Calls 3

isHiddenFunction · 0.85
postEventFunction · 0.50
getCurrentTimeFunction · 0.50

Tested by

no test coverage detected