MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / ReattachFirstElement

Method ReattachFirstElement

ogsr_engine/xrGame/PHJoint.cpp:608–615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606 bActive = false;
607}
608void 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}
616void CPHJoint::SetForceAndVelocity(const float force, const float velocity, const int axis_num)
617{
618 if (pShell && pShell->isActive())

Callers 1

ElementSingleSplitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected