Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
247
void Rigid::getOriginVector(const Point3F &p,Point3F* r)
248
{
249
*r = p - worldCenterOfMass;
250
}
251
252
void Rigid::setCenterOfMass(const Point3F &newCenter)
253
{
Callers
5
applyImpulse
Method · 0.80
resolveCollision
Method · 0.80
resolveContacts
Method · 0.80
resolveCollision
Method · 0.80
updateForces
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected