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

Method getMomentum

Engine/source/T3D/player.cpp:5439–5442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5437}
5438
5439Point3F Player::getMomentum() const
5440{
5441 return mVelocity * getMass();
5442}
5443
5444void Player::setMomentum(const Point3F& newMomentum)
5445{

Callers 1

resolveDisplacementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected