39 virtual void AddToWorld(btMultiBodyDynamicsWorld& c_world);
45 std::unique_ptr<btMultiBodyJointMotor> m_ptrLeftMotor;
46 std::unique_ptr<btMultiBodyJointMotor> m_ptrRightMotor;
48 std::shared_ptr<CBase> m_ptrBody;
49 std::shared_ptr<CLink> m_ptrLeftWheel;
50 std::shared_ptr<CLink> m_ptrRightWheel;
54 static const btVector3 m_cBodyHalfExtents;
55 static const btScalar m_fBodyMass;
56 static const btTransform m_cBodyOffset;
57 static const btTransform m_cBodyGeometricOffset;
59 static const btVector3 m_cWheelHalfExtents;
60 static const btScalar m_fWheelMass;
61 static const btTransform m_cWheelGeometricOffset;
62 static const btTransform m_cLeftWheelOffset;
63 static const btTransform m_cRightWheelOffset;
64 static const btVector3 m_cBodyToRightWheelJointOffset;
65 static const btVector3 m_cRightWheelToBodyJointOffset;
66 static const btQuaternion m_cBodyToRightWheelJointRotation;
67 static const btVector3 m_cBodyToLeftWheelJointOffset;
68 static const btVector3 m_cLeftWheelToBodyJointOffset;
69 static const btQuaternion m_cBodyToLeftWheelJointRotation;
70 static const btScalar m_fWheelMotorMaxImpulse;
71 static const btScalar m_fWheelFriction;