| 1144 | } |
| 1145 | |
| 1146 | void CPHSimpleCharacter::CaptureObject(dBodyID body, const dReal* anchor) |
| 1147 | { |
| 1148 | m_capture_joint = dJointCreateBall(0, 0); |
| 1149 | Island().AddJoint(m_capture_joint); |
| 1150 | dJointAttach(m_capture_joint, m_body, body); |
| 1151 | dJointSetBallAnchor(m_capture_joint, anchor[0], anchor[1], anchor[2]); |
| 1152 | dJointSetFeedback(m_capture_joint, &m_capture_joint_feedback); |
| 1153 | } |
| 1154 | |
| 1155 | void CPHSimpleCharacter::CapturedSetPosition(const dReal* position) |
| 1156 | { |
nothing calls this directly
no test coverage detected