btRigidBody* gkDynamicsWorld::getFixedBody() { static btRigidBody s_fixed(0, 0,0); s_fixed.setMassProps(btScalar(0.),btVector3(btScalar(0.),btScalar(0.),btScalar(0.))); return &s_fixed; }
btRigidBody& btKart::getFixedBody() { static btRigidBody s_fixed(0, 0,0); s_fixed.setMassProps(btScalar(0.),btVector3(btScalar(0.), btScalar(0.),btScalar(0.))); return s_fixed; }
btTypedConstraint::btTypedConstraint(btTypedConstraintType type) : m_constraintType (type), m_userConstraintType(-1), m_userConstraintId(-1), m_rbA(s_fixed), m_rbB(s_fixed), m_appliedImpulse(btScalar(0.)) { s_fixed.setMassProps(btScalar(0.),btVector3(btScalar(0.),btScalar(0.),btScalar(0.))); }
btTypedConstraint::btTypedConstraint(btTypedConstraintType type) :m_userConstraintType(-1), m_userConstraintId(-1), m_needsFeedback(false), m_constraintType (type), m_rbA(s_fixed), m_rbB(s_fixed), m_appliedImpulse(btScalar(0.)), m_dbgDrawSize(DEFAULT_DEBUGDRAW_SIZE) { s_fixed.setMassProps(btScalar(0.),btVector3(btScalar(0.),btScalar(0.),btScalar(0.))); }
btRigidBody& btBulletWorldImporter::getFixedBody() { static btRigidBody s_fixed(0, 0,0); s_fixed.setMassProps(btScalar(0.),btVector3(btScalar(0.),btScalar(0.),btScalar(0.))); return s_fixed; }
static btRigidBody & getFixedBody() { static btRigidBody fixed(0, 0, 0); fixed.setMassProps(0, btVector3(0, 0, 0)); return fixed; }