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

Method applyImpulse

Engine/source/T3D/rigidShape.cpp:1030–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1028}
1029
1030void RigidShape::applyImpulse(const Point3F &pos, const Point3F &impulse)
1031{
1032 Point3F r;
1033 mRigid.getOriginVector(pos,&r);
1034 mRigid.applyImpulse(r, impulse);
1035}
1036
1037
1038//----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

getOriginVectorMethod · 0.80

Tested by

no test coverage detected