| 2164 | } |
| 2165 | |
| 2166 | Matrix4 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 | |
| 2180 | Vector3 Entity::WorldSpeed() const |
| 2181 | { |
no test coverage detected