| 911 | } |
| 912 | |
| 913 | Fmatrix CPHMovementControl::PHCaptureGetNearestElemTransform(CPhysicsShellHolder* object) |
| 914 | { |
| 915 | CPhysicsElement* ph_elem = object->m_pPhysicsShell->NearestToPoint(vPosition); |
| 916 | |
| 917 | Fmatrix m; |
| 918 | ph_elem->GetGlobalTransformDynamic(&m); |
| 919 | |
| 920 | return m; |
| 921 | } |
| 922 | |
| 923 | IPhysicsElement* CPHMovementControl::IElement() const |
| 924 | { |
nothing calls this directly
no test coverage detected