| 2178 | } |
| 2179 | |
| 2180 | Vector3 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 | |
| 2194 | Matrix4 Entity::WorldInvTransform() const |
| 2195 | { |
nothing calls this directly
no test coverage detected