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

Method WorldTransform

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

Source from the content-addressed store, hash-verified

2164}
2165
2166Matrix4 Entity::WorldTransform() const
2167{
2168 if ((MoveOutState)_moveOutState == MOIn)
2169 {
2170 return Transform();
2171 }
2172 if (!_hierParent)
2173 {
2174 LOG_DEBUG(Physics, "{}: no _hierParent", (const char*)GetDebugName());
2175 return MIdentity;
2176 }
2177 return _hierParent->ProxyWorldTransform(this);
2178}
2179
2180Vector3 Entity::WorldSpeed() const
2181{

Callers 2

UpdatePositionMethod · 0.45

Calls 2

TransformFunction · 0.85
ProxyWorldTransformMethod · 0.45

Tested by

no test coverage detected