Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
5439
Point3F Player::getMomentum() const
5440
{
5441
return mVelocity * getMass();
5442
}
5443
5444
void Player::setMomentum(const Point3F& newMomentum)
5445
{
Callers
1
resolveDisplacement
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected