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

Method _impulseCallback

Engine/source/T3D/physics/physicsEvents.cpp:79–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void RadialImpulseEvent::_impulseCallback( SceneObject *obj, void *key )
80{
81 ImpulseInfo *info = (ImpulseInfo*)key;
82 obj->applyRadialImpulse( info->pos, info->radius, info->magnitude );
83}
84
85void RadialImpulseEvent::impulse( SceneContainer *con, const Point3F &position, F32 radius, F32 magnitude )
86{

Callers

nothing calls this directly

Calls 1

applyRadialImpulseMethod · 0.45

Tested by

no test coverage detected