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

Method getMass

Engine/source/T3D/physics/physicsShape.cpp:846–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

844}
845
846F32 PhysicsShape::getMass() const
847{
848 const PhysicsShapeData *db = const_cast<PhysicsShape*>( this )->getDataBlock();
849 return db->mass;
850}
851
852void PhysicsShape::applyImpulse( const Point3F &pos, const VectorF &vec )
853{

Callers 2

detachMethod · 0.45
processTickMethod · 0.45

Calls 1

getDataBlockMethod · 0.45

Tested by

no test coverage detected