Home
last modified time | relevance | path

Searched refs:groundBody (Results 1 – 25 of 31) sorted by relevance

12

/dports/devel/bullet/bullet3-3.21/examples/MultiBody/
H A DKinematicMultiBodyExample.cpp34 btMultiBody* groundBody = (btMultiBody*)world->getWorldUserInfo(); in kinematicPreTickCallback() local
38 …btTransformUtil::integrateTransform(groundBody->getBaseWorldTransform(), linearVelocity, angularVe… in kinematicPreTickCallback()
39 groundBody->setBaseWorldTransform(predictedTrans); in kinematicPreTickCallback()
40 groundBody->setBaseVel(linearVelocity); in kinematicPreTickCallback()
41 groundBody->setBaseOmega(angularVelocity); in kinematicPreTickCallback()
45 double old_joint_pos = groundBody->getJointPos(0); in kinematicPreTickCallback()
48 groundBody->setJointPosMultiDof(0, &joint_pos); in kinematicPreTickCallback()
49 groundBody->setJointVelMultiDof(0, &joint_vel); in kinematicPreTickCallback()
/dports/devel/py-bullet3/bullet3-3.21/examples/MultiBody/
H A DKinematicMultiBodyExample.cpp34 btMultiBody* groundBody = (btMultiBody*)world->getWorldUserInfo(); in kinematicPreTickCallback() local
38 …btTransformUtil::integrateTransform(groundBody->getBaseWorldTransform(), linearVelocity, angularVe… in kinematicPreTickCallback()
39 groundBody->setBaseWorldTransform(predictedTrans); in kinematicPreTickCallback()
40 groundBody->setBaseVel(linearVelocity); in kinematicPreTickCallback()
41 groundBody->setBaseOmega(angularVelocity); in kinematicPreTickCallback()
45 double old_joint_pos = groundBody->getJointPos(0); in kinematicPreTickCallback()
48 groundBody->setJointPosMultiDof(0, &joint_pos); in kinematicPreTickCallback()
49 groundBody->setJointVelMultiDof(0, &joint_vel); in kinematicPreTickCallback()
/dports/devel/bullet/bullet3-3.21/examples/GyroscopicDemo/
H A DGyroscopicSetup.cpp94 btRigidBody* groundBody; in initPhysics() local
95 groundBody = createRigidBody(0, groundTransform, groundShape); in initPhysics()
96 groundBody->setFriction(btSqrt(2)); in initPhysics()
/dports/devel/py-bullet3/bullet3-3.21/examples/GyroscopicDemo/
H A DGyroscopicSetup.cpp94 btRigidBody* groundBody; in initPhysics() local
95 groundBody = createRigidBody(0, groundTransform, groundShape); in initPhysics()
96 groundBody->setFriction(btSqrt(2)); in initPhysics()
/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/Box2D/HelloWorld/
H A DHelloWorld.cpp46 b2Body* groundBody = world.CreateBody(&groundBodyDef); in main() local
55 groundBody->CreateFixture(&groundBox, 0.0f); in main()
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/box2d/HelloWorld/
H A DHelloWorld.cpp47 b2Body* groundBody = world.CreateBody(&groundBodyDef); in main() local
56 groundBody->CreateFixture(&groundBox, 0.0f); in main()
/dports/misc/box2d/box2d-2.4.1/unit-test/
H A Dhello_world.cpp48 b2Body* groundBody = world.CreateBody(&groundBodyDef); variable
57 groundBody->CreateFixture(&groundBox, 0.0f);
/dports/misc/box2d/box2d-2.4.1/testbed/tests/
H A Ddump_loader.cpp43 b2Body *groundBody = m_world->CreateBody(&groundBodyDef); in DumpLoader() local
44 b2Fixture *groundBodyFixture = groundBody->CreateFixture(&groundFixtureDef); in DumpLoader()
/dports/devel/love08/love-0.8.0/src/modules/physics/box2d/
H A DWorld.cpp229 groundBody = world->CreateBody(&def); in World()
244 groundBody = world->CreateBody(&def); in World()
429 if (b == groundBody) in getBodyList()
478 return groundBody; in getGroundBody()
527 if (t == groundBody) in destroy()
535 world->DestroyBody(groundBody); in destroy()
H A DWorld.h111 b2Body * groundBody; variable
/dports/devel/love10/love-0.10.2/src/modules/physics/box2d/
H A DWorld.cpp229 groundBody = world->CreateBody(&def); in World()
243 groundBody = world->CreateBody(&def); in World()
466 if (b == groundBody) in getBodyList()
521 return groundBody; in getGroundBody()
570 if (t == groundBody) in destroy()
578 world->DestroyBody(groundBody); in destroy()
H A DWorld.h286 b2Body *groundBody; variable
/dports/devel/love/love-11.3/src/modules/physics/box2d/
H A DWorld.cpp240 groundBody = world->CreateBody(&def); in World()
258 groundBody = world->CreateBody(&def); in World()
486 if (b == groundBody) in getBodies()
541 return groundBody; in getGroundBody()
600 if (t == groundBody) in destroy()
608 world->DestroyBody(groundBody); in destroy()
H A DWorld.h297 b2Body *groundBody; variable
/dports/devel/bullet/bullet3-3.21/examples/RigidBody/
H A DKinematicRigidBodyExample.cpp33 btRigidBody* groundBody = (btRigidBody*)world->getWorldUserInfo(); in kinematicPreTickCallback() local
37 …btTransformUtil::integrateTransform(groundBody->getWorldTransform(), linearVelocity, angularVeloci… in kinematicPreTickCallback()
39 groundBody->getMotionState()->setWorldTransform(predictedTrans); in kinematicPreTickCallback()
/dports/devel/py-bullet3/bullet3-3.21/examples/RigidBody/
H A DKinematicRigidBodyExample.cpp33 btRigidBody* groundBody = (btRigidBody*)world->getWorldUserInfo(); in kinematicPreTickCallback() local
37 …btTransformUtil::integrateTransform(groundBody->getWorldTransform(), linearVelocity, angularVeloci… in kinematicPreTickCallback()
39 groundBody->getMotionState()->setWorldTransform(predictedTrans); in kinematicPreTickCallback()
/dports/graphics/urho3d/Urho3D-1.7.1/bin/Data/LuaScripts/
H A D28_Urho2DPhysicsRope.lua56 local groundBody = groundNode:CreateComponent("RigidBody2D")
62 local prevBody = groundBody
H A D27_Urho2DPhysics.lua60 local groundBody = groundNode:CreateComponent("RigidBody2D")
/dports/misc/dartsim/dart-6.11.1/unittests/regression/
H A Dtest_Issue1445.cpp169 auto* groundBody = ground->getRootBodyNode(); in TEST() local
170 auto temp2 = groundBody->remove(); in TEST()
/dports/graphics/urho3d/Urho3D-1.7.1/Source/Samples/28_Urho2DPhysicsRope/
H A DUrho2DPhysicsRope.cpp100 RigidBody2D* groundBody = groundNode->CreateComponent<RigidBody2D>(); in CreateScene() local
106 RigidBody2D* prevBody = groundBody; in CreateScene()
/dports/graphics/py-box2d-py/box2d-py-2.3.8/examples/
H A Dhello.py15 groundBody = world.CreateStaticBody(position=(0, -10), variable
/dports/devel/upp/upp/examples/Box2DExample/
H A Dmain.cpp155 b2Body* groundBody; member
176 groundBody = world.CreateBody(&bodyDef); in App()
353 md.bodyA = groundBody; in LeftDown()
/dports/science/simbody/simbody-Simbody-3.7/Simbody/tests/adhoc/
H A DGeometryPlayground.cpp335 const Body& groundBody = matter.Ground().getBody(); in main() local
336 const int nDecGeoms = groundBody.getNumDecorations(); in main()
341 groundBody.getDecoration(i).getBodyId(), in main()
342 groundBody.getDecoration(i).getIndexOnBody(), in main()
343 (unsigned long long)groundBody.getDecoration(i).getUserRef()); in main()
/dports/science/chrono/chrono-7.0.1/src/chrono_vehicle/tracked_vehicle/
H A DChTrackContactManager.h201 std::shared_ptr<ChBody> groundBody, ///< [in] ground body in collision in ComputeGroundContactForce() argument
/dports/graphics/urho3d/Urho3D-1.7.1/bin/Data/Scripts/
H A D28_Urho2DPhysicsRope.as59 RigidBody2D@ groundBody = groundNode.CreateComponent("RigidBody2D");
65 RigidBody2D@ prevBody = groundBody;

12