| 606 | bActive = false; |
| 607 | } |
| 608 | void CPHJoint::ReattachFirstElement(CPHElement* new_element) |
| 609 | { |
| 610 | Deactivate(); |
| 611 | pFirst_element = (new_element); |
| 612 | Activate(); |
| 613 | // dJointAttach(m_joint,pFirst_element->get_body(),pSecond_element->get_body()); |
| 614 | // if(m_joint1)dJointAttach(m_joint1,pFirst_element->get_body(),pSecond_element->get_body()); |
| 615 | } |
| 616 | void CPHJoint::SetForceAndVelocity(const float force, const float velocity, const int axis_num) |
| 617 | { |
| 618 | if (pShell && pShell->isActive()) |