MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / applyForce

Method applyForce

engine/source/2d/sceneobject/SceneObject.cc:1438–1445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1436//-----------------------------------------------------------------------------
1437
1438void SceneObject::applyForce( const Vector2& worldForce, const bool wake )
1439{
1440 // Ignore if not in scene.
1441 if ( !mpScene )
1442 return;
1443
1444 applyForce( worldForce, getPosition() + getLocalCenter(), wake );
1445}
1446
1447//-----------------------------------------------------------------------------
1448

Callers 4

integrateMethod · 0.80
integrateMethod · 0.80
integrateMethod · 0.80

Calls 1

ApplyForceMethod · 0.80

Tested by

no test coverage detected