Home
last modified time | relevance | path

Searched refs:getInvMass (Results 1 – 21 of 21) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/
DbtContactConstraint.cpp147 rel_pos1,rel_pos2,normal,body1.getInvInertiaDiagLocal(),body1.getInvMass(), in resolveSingleBilateral()
148 body2.getInvInertiaDiagLocal(),body2.getInvMass()); in resolveSingleBilateral()
167 btScalar massTerm = btScalar(1.) / (body1.getInvMass() + body2.getInvMass()); in resolveSingleBilateral()
DbtPoint2PointConstraint.cpp61 m_rbA.getInvMass(), in buildJacobian()
63 m_rbB.getInvMass()); in buildJacobian()
DbtSequentialImpulseConstraintSolver.cpp475 …solverBody->internalSetInvMass(btVector3(rb->getInvMass(),rb->getInvMass(),rb->getInvMass())*rb->g… in initSolverBody()
481 solverBody->m_externalForceImpulse = rb->getTotalForce()*rb->getInvMass()*timeStep; in initSolverBody()
585 denom0 = body0->getInvMass() + normalAxis.dot(vec); in setupFrictionConstraint()
590 denom1 = body1->getInvMass() + normalAxis.dot(vec); in setupFrictionConstraint()
731 if (rb && (rb->getInvMass() || rb->isKinematicObject())) in getOrInitSolverBody()
796 denom0 = rb0->getInvMass() + cp.m_normalWorldOnB.dot(vec); in setupContactConstraint()
801 denom1 = rb1->getInvMass() + cp.m_normalWorldOnB.dot(vec); in setupContactConstraint()
947 …bodyA->internalApplyImpulse(frictionConstraint1.m_contactNormal1*rb0->getInvMass()*rb0->getLinearF… in setFrictionConstraintImpulse()
949 …bodyB->internalApplyImpulse(-frictionConstraint1.m_contactNormal2*rb1->getInvMass()*rb1->getLinear… in setFrictionConstraintImpulse()
963 …bodyA->internalApplyImpulse(frictionConstraint2.m_contactNormal1*rb0->getInvMass(),frictionConstra… in setFrictionConstraintImpulse()
[all …]
DbtGeneric6DofConstraint.cpp397 btScalar miA = getRigidBodyA().getInvMass(); in calculateTransforms()
398 btScalar miB = getRigidBodyB().getInvMass(); in calculateTransforms()
426 m_rbA.getInvMass(), in buildLinearJacobian()
428 m_rbB.getInvMass()); in buildLinearJacobian()
741 btScalar imA = m_rbA.getInvMass(); in calcAnchorPos()
742 btScalar imB = m_rbB.getInvMass(); in calcAnchorPos()
DbtHingeConstraint.cpp249 m_rbA.getInvMass(), in buildJacobian()
251 m_rbB.getInvMass()); in buildJacobian()
791 btScalar miA = getRigidBodyA().getInvMass(); in getInfo2InternalUsingFrameOffset()
792 btScalar miB = getRigidBodyB().getInvMass(); in getInfo2InternalUsingFrameOffset()
DbtConeTwistConstraint.cpp299 m_rbA.getInvMass(), in buildJacobian()
301 m_rbB.getInvMass()); in buildJacobian()
347 …bodyA.internalApplyImpulse(normal*m_rbA.getInvMass(), m_rbA.getInvInertiaTensorWorld()*ftorqueAxis… in solveConstraintObsolete()
348 …bodyB.internalApplyImpulse(normal*m_rbB.getInvMass(), m_rbB.getInvInertiaTensorWorld()*ftorqueAxis… in solveConstraintObsolete()
DbtGeneric6DofSpring2Constraint.cpp423 btScalar miA = getRigidBodyA().getInvMass(); in calculateTransforms()
424 btScalar miB = getRigidBodyB().getInvMass(); in calculateTransforms()
783 btScalar mA = BT_ONE / m_rbA.getInvMass(); in get_limit_motor_info2()
784 btScalar mB = BT_ONE / m_rbB.getInvMass(); in get_limit_motor_info2()
DbtSliderConstraint.cpp150 …orm(), m_rbA.getLinearVelocity(),m_rbB.getLinearVelocity(), m_rbA.getInvMass(),m_rbB.getInvMass()); in getInfo2()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
DbtMultiBodyConstraint.cpp247 denom0 = rb0->getInvMass() + contactNormalOnB.dot(vec); in fillMultiBodyConstraint()
266 denom1 = rb1->getInvMass() + contactNormalOnB.dot(vec); in fillMultiBodyConstraint()
DbtMultiBodyConstraintSolver.cpp416 denom0 = rb0->getInvMass() + contactNormal.dot(vec); in setupMultiBodyContactConstraint()
436 denom1 = rb1->getInvMass() + contactNormal.dot(vec); in setupMultiBodyContactConstraint()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/MLCPSolvers/
DbtMLCPSolver.cpp271 …tor3 normalInvMass = m_allConstraintPtrArray[i+row]->m_contactNormal1 * orgBodyA->getInvMass(); in createMLCPFast()
308 …btVector3 normalInvMassB = m_allConstraintPtrArray[i+row]->m_contactNormal2*orgBodyB->getInvMass(); in createMLCPFast()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/
DbtSolverBody.java111 public btVector3 getInvMass() { in getInvMass() method in btSolverBody
DbtRigidBody.java442 public float getInvMass() { in getInvMass() method in btRigidBody
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Dynamics/
DbtRigidBody.h270 btScalar getInvMass() const { return m_inverseMass; } in getInvMass() function
DbtDiscreteDynamicsWorld.cpp1244 bool useFrameB = (pCT->getRigidBodyB().getInvMass() > btScalar(0.f)); in debugDrawConstraint()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Character/
DbtKinematicCharacterController.cpp725 btScalar magnitude = (btScalar(1.0)/m_rigidBody->getInvMass()) * btScalar(8.0); in jump()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Vehicle/
DbtRaycastVehicle.cpp416 btScalar chassisMass = btScalar(1.) / m_chassisBody->getInvMass(); in updateSuspension()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/
DbtSoftBody.h406 if(m_rigid) return(m_rigid->getInvMass()); in invMass()
DbtSoftBodyInternals.h825 const btScalar imb= m_rigidBody? m_rigidBody->getInvMass() : 0.f; in DoNode()
DbtSoftBody.cpp1869 a.m_body->getInvMass(), in solveConstraints()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/
Ddynamics_wrap.cpp2996 result = (btScalar)((btRigidBody const *)arg1)->getInvMass(); in Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btRigidBody_1getInvMass()