Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TorqueGameEngines/Torque3D
/ setAtRest
Method
setAtRest
Engine/source/T3D/rigid.cpp:359–366 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
357
}
358
359
void Rigid::setAtRest()
360
{
361
atRest = true;
362
linVelocity.set(0.0f,0.0f,0.0f);
363
linMomentum.set(0.0f,0.0f,0.0f);
364
angVelocity.set(0.0f,0.0f,0.0f);
365
angMomentum.set(0.0f,0.0f,0.0f);
366
}
Callers
5
updatePos
Method · 0.80
updateForces
Method · 0.80
reset
Method · 0.80
updateForces
Method · 0.80
updatePos
Method · 0.80
Calls
1
set
Method · 0.45
Tested by
no test coverage detected