Home
last modified time | relevance | path

Searched refs:m_groundBody (Results 1 – 19 of 19) sorted by relevance

/dports/devel/bullet/bullet3-3.21/examples/MultiBody/
H A DKinematicMultiBodyExample.cpp54 btMultiBody* m_groundBody; member
58 m_groundBody(0) in KinematicMultiBodyExample()
124 m_groundBody->setBasePos(startTransform.getOrigin()); in initPhysics()
125 m_groundBody->setWorldToBaseRot(startTransform.getRotation()); in initPhysics()
131 m_groundBody->finalizeMultiDof(); in initPhysics()
132 m_dynamicsWorld->addMultiBody(m_groundBody); in initPhysics()
139 btMultiBodyLinkCollider* col = new btMultiBodyLinkCollider(m_groundBody, -1); in initPhysics()
142 m_groundBody->setBaseCollider(col); in initPhysics()
143 m_groundBody->setBaseDynamicType(btCollisionObject::CF_KINEMATIC_OBJECT); in initPhysics()
148 m_groundBody->getLink(0).m_collider = secondLevelCol; in initPhysics()
[all …]
/dports/devel/py-bullet3/bullet3-3.21/examples/MultiBody/
H A DKinematicMultiBodyExample.cpp54 btMultiBody* m_groundBody; member
58 m_groundBody(0) in KinematicMultiBodyExample()
124 m_groundBody->setBasePos(startTransform.getOrigin()); in initPhysics()
125 m_groundBody->setWorldToBaseRot(startTransform.getRotation()); in initPhysics()
131 m_groundBody->finalizeMultiDof(); in initPhysics()
132 m_dynamicsWorld->addMultiBody(m_groundBody); in initPhysics()
139 btMultiBodyLinkCollider* col = new btMultiBodyLinkCollider(m_groundBody, -1); in initPhysics()
142 m_groundBody->setBaseCollider(col); in initPhysics()
143 m_groundBody->setBaseDynamicType(btCollisionObject::CF_KINEMATIC_OBJECT); in initPhysics()
148 m_groundBody->getLink(0).m_collider = secondLevelCol; in initPhysics()
[all …]
/dports/devel/bullet/bullet3-3.21/examples/RigidBody/
H A DKinematicRigidBodyExample.cpp41 m_groundBody->setWorldTransform(predictedTrans); in kinematicPreTickCallback()
47 btRigidBody* m_groundBody; member
51 m_groundBody(0) in KinematicRigidBodyExample()
109 m_groundBody = new btRigidBody(cInfo); in initPhysics()
111 m_groundBody = new btRigidBody(mass, 0, shape, localInertia); in initPhysics()
112 m_groundBody->setWorldTransform(startTransform); in initPhysics()
115 m_groundBody->setUserIndex(-1); in initPhysics()
117 m_groundBody->forceActivationState(DISABLE_DEACTIVATION); in initPhysics()
119 m_dynamicsWorld->addRigidBody(m_groundBody); in initPhysics()
122 m_dynamicsWorld->setInternalTickCallback(kinematicPreTickCallback, m_groundBody, true); in initPhysics()
[all …]
/dports/devel/py-bullet3/bullet3-3.21/examples/RigidBody/
H A DKinematicRigidBodyExample.cpp41 m_groundBody->setWorldTransform(predictedTrans); in kinematicPreTickCallback()
47 btRigidBody* m_groundBody; member
51 m_groundBody(0) in KinematicRigidBodyExample()
109 m_groundBody = new btRigidBody(cInfo); in initPhysics()
111 m_groundBody = new btRigidBody(mass, 0, shape, localInertia); in initPhysics()
112 m_groundBody->setWorldTransform(startTransform); in initPhysics()
115 m_groundBody->setUserIndex(-1); in initPhysics()
117 m_groundBody->forceActivationState(DISABLE_DEACTIVATION); in initPhysics()
119 m_dynamicsWorld->addRigidBody(m_groundBody); in initPhysics()
122 m_dynamicsWorld->setInternalTickCallback(kinematicPreTickCallback, m_groundBody, true); in initPhysics()
[all …]
/dports/devel/bullet/bullet3-3.21/examples/MultiThreadedDemo/
H A DMultiThreadedDemo.cpp56 btRigidBody* m_groundBody; member in MultiThreadedDemo
106 if (m_groundBody) in stepSimulation()
126 m_groundBody->setWorldTransform(xf); in stepSimulation()
127 m_groundBody->setLinearVelocity(vel); in stepSimulation()
157 m_groundBody = NULL; in MultiThreadedDemo()
305 m_groundBody = createKinematicBody(m_groundStartXf, groundShape); in createSceneObjects()
306 m_groundBody->forceActivationState(DISABLE_DEACTIVATION); in createSceneObjects()
307 m_groundBody->setFriction(1.0f); in createSceneObjects()
/dports/devel/py-bullet3/bullet3-3.21/examples/MultiThreadedDemo/
H A DMultiThreadedDemo.cpp56 btRigidBody* m_groundBody; member in MultiThreadedDemo
106 if (m_groundBody) in stepSimulation()
126 m_groundBody->setWorldTransform(xf); in stepSimulation()
127 m_groundBody->setLinearVelocity(vel); in stepSimulation()
157 m_groundBody = NULL; in MultiThreadedDemo()
305 m_groundBody = createKinematicBody(m_groundStartXf, groundShape); in createSceneObjects()
306 m_groundBody->forceActivationState(DISABLE_DEACTIVATION); in createSceneObjects()
307 m_groundBody->setFriction(1.0f); in createSceneObjects()
/dports/devel/love07/love-HEAD/src/modules/physics/box2d/Source/Dynamics/
H A Db2World.h196 b2Body* m_groundBody; variable
220 return m_groundBody; in GetGroundBody()
H A Db2World.cpp62 m_groundBody = CreateBody(&bd); in b2World()
67 DestroyBody(m_groundBody); in ~b2World()
/dports/devel/love5/love-0.5-0/src/box2d/Source/Dynamics/
H A Db2World.h196 b2Body* m_groundBody; variable
220 return m_groundBody; in GetGroundBody()
H A Db2World.cpp62 m_groundBody = CreateBody(&bd); in b2World()
67 DestroyBody(m_groundBody); in ~b2World()
/dports/games/numptyphysics/numptyphysics/Box2D/Source/Dynamics/
H A Db2World.h196 b2Body* m_groundBody; variable
220 return m_groundBody; in GetGroundBody()
H A Db2World.cpp62 m_groundBody = CreateBody(&bd); in b2World()
67 DestroyBody(m_groundBody); in ~b2World()
/dports/misc/box2d/box2d-2.4.1/testbed/
H A Dtest.h122 b2Body* m_groundBody; variable
H A Dtest.cpp60 m_groundBody = m_world->CreateBody(&bodyDef); in Test()
171 jd.bodyA = m_groundBody; in MouseDown()
/dports/devel/upp/upp/uppsrc/plugin/box2d/
H A Db2World.h206 b2Body* m_groundBody; variable
/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/Box2D/Testbed/Framework/
H A DTest.h181 b2Body* m_groundBody; variable
H A DTest.cpp54 m_groundBody = m_world->CreateBody(&bodyDef); in Test()
162 md.bodyA = m_groundBody; in MouseDown()
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/box2d/Testbed/Framework/
H A DTest.h170 b2Body* m_groundBody; variable
H A DTest.cpp55 m_groundBody = m_world->CreateBody(&bodyDef); in Test()
159 md.bodyA = m_groundBody; in MouseDown()