Home
last modified time | relevance | path

Searched refs:getRigidBody (Results 1 – 25 of 44) sorted by relevance

12

/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/testbed/scenes/joints/
H A DJointsScene.cpp104 mPhysicsWorld->destroyRigidBody(mPropellerBox->getRigidBody()); in ~JointsScene()
105 mPhysicsWorld->destroyRigidBody(mFixedJointBox1->getRigidBody()); in ~JointsScene()
106 mPhysicsWorld->destroyRigidBody(mFixedJointBox2->getRigidBody()); in ~JointsScene()
121 mPhysicsWorld->destroyRigidBody(mFloor->getRigidBody()); in ~JointsScene()
311 rp3d::RigidBody* body1 = mSliderJointBottomBox->getRigidBody(); in createSliderJoint()
312 rp3d::RigidBody* body2 = mSliderJointTopBox->getRigidBody(); in createSliderJoint()
353 rp3d::RigidBody* body1 = mPropellerBox->getRigidBody(); in createPropellerHingeJoint()
354 rp3d::RigidBody* body2 = mSliderJointTopBox->getRigidBody(); in createPropellerHingeJoint()
412 rp3d::RigidBody* body1 = mFixedJointBox1->getRigidBody(); in createFixedJoints()
424 rp3d::RigidBody* body2 = mFixedJointBox2->getRigidBody(); in createFixedJoints()
[all …]
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/src/constraint/
H A DJoint.cpp43 return mWorld.mRigidBodyComponents.getRigidBody(body1Entiy); in getBody1()
52 return mWorld.mRigidBodyComponents.getRigidBody(body2Entiy); in getBody2()
80 … RigidBody* body1 = static_cast<RigidBody*>(mWorld.mRigidBodyComponents.getRigidBody(body1Entity)); in awakeBodies()
81 … RigidBody* body2 = static_cast<RigidBody*>(mWorld.mRigidBodyComponents.getRigidBody(body2Entity)); in awakeBodies()
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/bullet/src/BulletDynamics/Vehicle/
H A DbtRaycastVehicle.cpp157 if (interpolatedTransform && (getRigidBody()->getMotionState())) in updateWheelTransformsWS()
159 getRigidBody()->getMotionState()->getWorldTransform(chassisTrans); in updateWheelTransformsWS()
222 btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS-getRigidBody()->getCenterOfMassPosition(); in rayCast()
224 chassis_velocity_at_contactPoint = getRigidBody()->getVelocityInLocalPoint(relpos); in rayCast()
264 return getRigidBody()->getCenterOfMassTransform(); in getChassisWorldTransform()
278 m_currentVehicleSpeedKmHour = btScalar(3.6) * getRigidBody()->getLinearVelocity().length(); in updateVehicle()
287 if (forwardW.dot(getRigidBody()->getLinearVelocity()) < btScalar(0.)) in updateVehicle()
318 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in updateVehicle()
320 getRigidBody()->applyImpulse(impulse, relpos); in updateVehicle()
332 btVector3 relpos = wheel.m_raycastInfo.m_hardPointWS - getRigidBody()->getCenterOfMassPosition(); in updateVehicle()
[all …]
H A DbtRaycastVehicle.h146 inline btRigidBody* getRigidBody() in getRigidBody() function
151 const btRigidBody* getRigidBody() const in getRigidBody() function
/dports/devel/bullet/bullet3-3.21/src/BulletDynamics/Vehicle/
H A DbtRaycastVehicle.cpp150 if (interpolatedTransform && (getRigidBody()->getMotionState())) in updateWheelTransformsWS()
152 getRigidBody()->getMotionState()->getWorldTransform(chassisTrans); in updateWheelTransformsWS()
213 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in rayCast()
215 chassis_velocity_at_contactPoint = getRigidBody()->getVelocityInLocalPoint(relpos); in rayCast()
253 return getRigidBody()->getCenterOfMassTransform(); in getChassisWorldTransform()
265 m_currentVehicleSpeedKmHour = btScalar(3.6) * getRigidBody()->getLinearVelocity().length(); in updateVehicle()
274 if (forwardW.dot(getRigidBody()->getLinearVelocity()) < btScalar(0.)) in updateVehicle()
305 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in updateVehicle()
307 getRigidBody()->applyImpulse(impulse, relpos); in updateVehicle()
315 btVector3 relpos = wheel.m_raycastInfo.m_hardPointWS - getRigidBody()->getCenterOfMassPosition(); in updateVehicle()
[all …]
H A DbtRaycastVehicle.h133 inline btRigidBody* getRigidBody() in getRigidBody() function
138 const btRigidBody* getRigidBody() const in getRigidBody() function
/dports/graphics/blender/blender-2.91.0/extern/bullet2/src/BulletDynamics/Vehicle/
H A DbtRaycastVehicle.cpp150 if (interpolatedTransform && (getRigidBody()->getMotionState())) in updateWheelTransformsWS()
152 getRigidBody()->getMotionState()->getWorldTransform(chassisTrans); in updateWheelTransformsWS()
213 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in rayCast()
215 chassis_velocity_at_contactPoint = getRigidBody()->getVelocityInLocalPoint(relpos); in rayCast()
253 return getRigidBody()->getCenterOfMassTransform(); in getChassisWorldTransform()
265 m_currentVehicleSpeedKmHour = btScalar(3.6) * getRigidBody()->getLinearVelocity().length(); in updateVehicle()
274 if (forwardW.dot(getRigidBody()->getLinearVelocity()) < btScalar(0.)) in updateVehicle()
305 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in updateVehicle()
307 getRigidBody()->applyImpulse(impulse, relpos); in updateVehicle()
315 btVector3 relpos = wheel.m_raycastInfo.m_hardPointWS - getRigidBody()->getCenterOfMassPosition(); in updateVehicle()
[all …]
H A DbtRaycastVehicle.h133 inline btRigidBody* getRigidBody() in getRigidBody() function
138 const btRigidBody* getRigidBody() const in getRigidBody() function
/dports/devel/godot/godot-3.2.3-stable/thirdparty/bullet/BulletDynamics/Vehicle/
H A DbtRaycastVehicle.cpp150 if (interpolatedTransform && (getRigidBody()->getMotionState())) in updateWheelTransformsWS()
152 getRigidBody()->getMotionState()->getWorldTransform(chassisTrans); in updateWheelTransformsWS()
213 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in rayCast()
215 chassis_velocity_at_contactPoint = getRigidBody()->getVelocityInLocalPoint(relpos); in rayCast()
253 return getRigidBody()->getCenterOfMassTransform(); in getChassisWorldTransform()
265 m_currentVehicleSpeedKmHour = btScalar(3.6) * getRigidBody()->getLinearVelocity().length(); in updateVehicle()
274 if (forwardW.dot(getRigidBody()->getLinearVelocity()) < btScalar(0.)) in updateVehicle()
305 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in updateVehicle()
307 getRigidBody()->applyImpulse(impulse, relpos); in updateVehicle()
315 btVector3 relpos = wheel.m_raycastInfo.m_hardPointWS - getRigidBody()->getCenterOfMassPosition(); in updateVehicle()
[all …]
H A DbtRaycastVehicle.h133 inline btRigidBody* getRigidBody() in getRigidBody() function
138 const btRigidBody* getRigidBody() const in getRigidBody() function
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Bullet/src/BulletDynamics/Vehicle/
H A DbtRaycastVehicle.cpp157 if (interpolatedTransform && (getRigidBody()->getMotionState())) in updateWheelTransformsWS()
159 getRigidBody()->getMotionState()->getWorldTransform(chassisTrans); in updateWheelTransformsWS()
222 btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS-getRigidBody()->getCenterOfMassPosition(); in rayCast()
224 chassis_velocity_at_contactPoint = getRigidBody()->getVelocityInLocalPoint(relpos); in rayCast()
264 return getRigidBody()->getCenterOfMassTransform(); in getChassisWorldTransform()
278 m_currentVehicleSpeedKmHour = btScalar(3.6) * getRigidBody()->getLinearVelocity().length(); in updateVehicle()
287 if (forwardW.dot(getRigidBody()->getLinearVelocity()) < btScalar(0.)) in updateVehicle()
319 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in updateVehicle()
321 getRigidBody()->applyImpulse(impulse, relpos); in updateVehicle()
333 btVector3 relpos = wheel.m_raycastInfo.m_hardPointWS - getRigidBody()->getCenterOfMassPosition(); in updateVehicle()
[all …]
H A DbtRaycastVehicle.h144 inline btRigidBody* getRigidBody() in getRigidBody() function
149 const btRigidBody* getRigidBody() const in getRigidBody() function
/dports/devel/py-bullet3/bullet3-3.21/src/BulletDynamics/Vehicle/
H A DbtRaycastVehicle.cpp150 if (interpolatedTransform && (getRigidBody()->getMotionState())) in updateWheelTransformsWS()
152 getRigidBody()->getMotionState()->getWorldTransform(chassisTrans); in updateWheelTransformsWS()
213 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in rayCast()
215 chassis_velocity_at_contactPoint = getRigidBody()->getVelocityInLocalPoint(relpos); in rayCast()
253 return getRigidBody()->getCenterOfMassTransform(); in getChassisWorldTransform()
265 m_currentVehicleSpeedKmHour = btScalar(3.6) * getRigidBody()->getLinearVelocity().length(); in updateVehicle()
274 if (forwardW.dot(getRigidBody()->getLinearVelocity()) < btScalar(0.)) in updateVehicle()
305 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in updateVehicle()
307 getRigidBody()->applyImpulse(impulse, relpos); in updateVehicle()
315 btVector3 relpos = wheel.m_raycastInfo.m_hardPointWS - getRigidBody()->getCenterOfMassPosition(); in updateVehicle()
[all …]
H A DbtRaycastVehicle.h133 inline btRigidBody* getRigidBody() in getRigidBody() function
138 const btRigidBody* getRigidBody() const in getRigidBody() function
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/extern/bullet/BulletDynamics/Vehicle/
H A DbtRaycastVehicle.cpp157 if (interpolatedTransform && (getRigidBody()->getMotionState())) in updateWheelTransformsWS()
159 getRigidBody()->getMotionState()->getWorldTransform(chassisTrans); in updateWheelTransformsWS()
222 btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS-getRigidBody()->getCenterOfMassPosition(); in rayCast()
224 chassis_velocity_at_contactPoint = getRigidBody()->getVelocityInLocalPoint(relpos); in rayCast()
264 return getRigidBody()->getCenterOfMassTransform(); in getChassisWorldTransform()
278 m_currentVehicleSpeedKmHour = btScalar(3.6) * getRigidBody()->getLinearVelocity().length(); in updateVehicle()
287 if (forwardW.dot(getRigidBody()->getLinearVelocity()) < btScalar(0.)) in updateVehicle()
319 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in updateVehicle()
321 getRigidBody()->applyImpulse(impulse, relpos); in updateVehicle()
333 btVector3 relpos = wheel.m_raycastInfo.m_hardPointWS - getRigidBody()->getCenterOfMassPosition(); in updateVehicle()
[all …]
H A DbtRaycastVehicle.h146 inline btRigidBody* getRigidBody() in getRigidBody() function
151 const btRigidBody* getRigidBody() const in getRigidBody() function
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/bullet/BulletDynamics/Vehicle/
H A DbtRaycastVehicle.cpp150 if (interpolatedTransform && (getRigidBody()->getMotionState())) in updateWheelTransformsWS()
152 getRigidBody()->getMotionState()->getWorldTransform(chassisTrans); in updateWheelTransformsWS()
213 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in rayCast()
215 chassis_velocity_at_contactPoint = getRigidBody()->getVelocityInLocalPoint(relpos); in rayCast()
253 return getRigidBody()->getCenterOfMassTransform(); in getChassisWorldTransform()
265 m_currentVehicleSpeedKmHour = btScalar(3.6) * getRigidBody()->getLinearVelocity().length(); in updateVehicle()
274 if (forwardW.dot(getRigidBody()->getLinearVelocity()) < btScalar(0.)) in updateVehicle()
305 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in updateVehicle()
307 getRigidBody()->applyImpulse(impulse, relpos); in updateVehicle()
315 btVector3 relpos = wheel.m_raycastInfo.m_hardPointWS - getRigidBody()->getCenterOfMassPosition(); in updateVehicle()
[all …]
H A DbtRaycastVehicle.h133 inline btRigidBody* getRigidBody() in getRigidBody() function
138 const btRigidBody* getRigidBody() const in getRigidBody() function
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/bullet/src/BulletDynamics/Vehicle/
H A DbtRaycastVehicle.cpp157 if (interpolatedTransform && (getRigidBody()->getMotionState())) in updateWheelTransformsWS()
159 getRigidBody()->getMotionState()->getWorldTransform(chassisTrans); in updateWheelTransformsWS()
222 btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS-getRigidBody()->getCenterOfMassPosition(); in rayCast()
224 chassis_velocity_at_contactPoint = getRigidBody()->getVelocityInLocalPoint(relpos); in rayCast()
264 return getRigidBody()->getCenterOfMassTransform(); in getChassisWorldTransform()
278 m_currentVehicleSpeedKmHour = btScalar(3.6) * getRigidBody()->getLinearVelocity().length(); in updateVehicle()
287 if (forwardW.dot(getRigidBody()->getLinearVelocity()) < btScalar(0.)) in updateVehicle()
318 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in updateVehicle()
320 getRigidBody()->applyImpulse(impulse, relpos); in updateVehicle()
332 btVector3 relpos = wheel.m_raycastInfo.m_hardPointWS - getRigidBody()->getCenterOfMassPosition(); in updateVehicle()
[all …]
H A DbtRaycastVehicle.h146 inline btRigidBody* getRigidBody() in getRigidBody() function
151 const btRigidBody* getRigidBody() const in getRigidBody() function
/dports/games/critterding/critterding-beta12/src/utils/bullet/BulletDynamics/Vehicle/
H A DbtRaycastVehicle.cpp149 if (interpolatedTransform && (getRigidBody()->getMotionState())) in updateWheelTransformsWS()
151 getRigidBody()->getMotionState()->getWorldTransform(chassisTrans); in updateWheelTransformsWS()
214 btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS-getRigidBody()->getCenterOfMassPosition(); in rayCast()
216 chassis_velocity_at_contactPoint = getRigidBody()->getVelocityInLocalPoint(relpos); in rayCast()
256 return getRigidBody()->getCenterOfMassTransform(); in getChassisWorldTransform()
270 m_currentVehicleSpeedKmHour = btScalar(3.6) * getRigidBody()->getLinearVelocity().length(); in updateVehicle()
279 if (forwardW.dot(getRigidBody()->getLinearVelocity()) < btScalar(0.)) in updateVehicle()
310 …btVector3 relpos = wheel.m_raycastInfo.m_contactPointWS - getRigidBody()->getCenterOfMassPosition(… in updateVehicle()
312 getRigidBody()->applyImpulse(impulse, relpos); in updateVehicle()
324 btVector3 relpos = wheel.m_raycastInfo.m_hardPointWS - getRigidBody()->getCenterOfMassPosition(); in updateVehicle()
[all …]
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/testbed/scenes/cubes/
H A DCubesScene.cpp90 mFloor->getRigidBody()->setType(rp3d::BodyType::STATIC); in CubesScene()
112 mPhysicsWorld->destroyRigidBody((*it)->getRigidBody()); in ~CubesScene()
119 mPhysicsWorld->destroyRigidBody(mFloor->getRigidBody()); in ~CubesScene()
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/testbed/scenes/cubestack/
H A DCubeStackScene.cpp91 mFloor->getRigidBody()->setType(rp3d::BodyType::STATIC); in CubeStackScene()
113 mPhysicsWorld->destroyRigidBody((*it)->getRigidBody()); in ~CubeStackScene()
120 mPhysicsWorld->destroyRigidBody(mFloor->getRigidBody()); in ~CubeStackScene()
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/testbed/common/
H A DPhysicsObject.h87 reactphysics3d::RigidBody* getRigidBody();
111 inline rp3d::RigidBody* PhysicsObject::getRigidBody() { in getRigidBody() function
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/physics/
H A DbtKart.cpp193 if (interpolatedTransform && (getRigidBody()->getMotionState())) in updateWheelTransformsWS()
195 getRigidBody()->getMotionState()->getWorldTransform(chassis_trans); in updateWheelTransformsWS()
319 - getRigidBody()->getCenterOfMassPosition(); in rayCast()
322 getRigidBody()->getVelocityInLocalPoint(relpos); in rayCast()
413 return getRigidBody()->getCenterOfMassTransform(); in getChassisWorldTransform()
480 - getRigidBody()->getCenterOfMassPosition(); in updateVehicle()
482 getRigidBody()->applyImpulse(impulse, relpos); in updateVehicle()
870 getRigidBody()->getCenterOfMassTransform() in updateFriction()

12