| 290 | } |
| 291 | |
| 292 | Fvector CPHCapture::GetCapturePosition() |
| 293 | { |
| 294 | Fvector pos; |
| 295 | CObject* object = smart_cast<CObject*>(m_character->PhysicsRefObject()); |
| 296 | pos.set(m_capture_bone->mTransform.c); |
| 297 | object->XFORM().transform_tiny(pos); |
| 298 | CActor* A = smart_cast<CActor*>(m_character->PhysicsRefObject()); |
| 299 | if (A) |
| 300 | pos.mad(pos, A->Direction(), .5f); |
| 301 | return pos; |
| 302 | } |
nothing calls this directly
no test coverage detected