2
불릿에 봄을 사용하여 두 개의 본문 (정적 및 동적 중 하나)을 연결하려고합니다. 나는 btGeneric6DofSpringCOnstraint를 사용하고 있습니다.btGeneric6DofSpringConstraint가 제대로 작동하지 않음
정적 본문에서 동적 본문이 중단됩니다. 시뮬레이션 동안
, 나는 동적 몸의 질량을 변경하고 있습니다 :btVector3 localInertia;
btb->getCollisionShape()->calculateLocalInertia(mass,localInertia);
btb->setMassProps(mass,localInertia);
btb->updateInertiaTensor();
//m_dynamicsWorld->addRigidBody(btb);
btb->activate(true);
그러나, 아무리 내가 무엇을 사용 물질, 몸은 여전히 정적 몸에서 같은 거리에 매달려되지 않습니다.
왜 이런 일이 발생하는지 알고 싶습니다.