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

Method getOriginVector

Engine/source/T3D/rigid.cpp:247–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247void Rigid::getOriginVector(const Point3F &p,Point3F* r)
248{
249 *r = p - worldCenterOfMass;
250}
251
252void Rigid::setCenterOfMass(const Point3F &newCenter)
253{

Callers 5

applyImpulseMethod · 0.80
resolveCollisionMethod · 0.80
resolveContactsMethod · 0.80
resolveCollisionMethod · 0.80
updateForcesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected