MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / WorldSpeed

Method WorldSpeed

engine/Poseidon/World/Simulation/Simul.cpp:2180–2192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2178}
2179
2180Vector3 Entity::WorldSpeed() const
2181{
2182 if ((MoveOutState)_moveOutState == MOIn)
2183 {
2184 return ObjectSpeed();
2185 }
2186 if (!_hierParent)
2187 {
2188 LOG_DEBUG(Physics, "{}: no _hierParent", (const char*)GetDebugName());
2189 return VZero;
2190 }
2191 return _hierParent->ObjectSpeed();
2192}
2193
2194Matrix4 Entity::WorldInvTransform() const
2195{

Callers

nothing calls this directly

Calls 2

ObjectSpeedFunction · 0.85
ObjectSpeedMethod · 0.80

Tested by

no test coverage detected