Questions tagged [bulletphysics]

Bullet (Bullet Physics SDK) is an Open Source collision detection and rigid body dynamics library. The Library is free for commercial use and open source under the ZLib License.

From Bullet's main project page:

Bullet 3D Game Multiphysics Library provides state of the art collision detection, soft body and rigid body dynamics.

  • Used by many movie and game companies in AAA titles on Playstation 3, XBox 360, Nintendo Wii, PC and iPhone
  • Modular extendible C++ design with hot-swap of most components
  • Optimized back-ends for pthreads/Win32 Threads multi-threading and PS3 Cell SPU
  • Preparation for OpenCL data parallel optimizations for upcoming Bullet 3.x

Bullet Collision Detection can be used on its own as a separate SDK without Bullet Dynamics

  • Discrete and continuous collision detection (CCD)
  • Swept collision queries
  • Ray casting with custom collision filtering
  • Generic convex support (using GJK), capsule, cylinder, cone, sphere, box and non-convex triangle meshes.
  • Support for dynamic deformation of non-convex triangle meshes, by refitting the acceleration structures

Multi-physics support including:

  • Rigid body dynamics including constraint solvers, generic constraints, ragdolls, hinge, ball-socket
  • Support for constraint limits and motors
  • Soft body support including cloth, rope and deformable
  • Bullet is integrated into Cinema 4D, Lightwave, Blender and Carrara, and plugins for Maya, Houdini and 3ds Max are available
  • Serialization of physics data in the cross-platform binary .bullet file format

The Library is free for commercial use and open source under the ZLib License.

Project page at GitHub: https://github.com/bulletphysics/bullet3 Other tags: bullet (https://stackoverflow.com/tags/bullet/info)

338 questions
3
votes
0 answers

Telling Bullet That Something Happened In The Past

Is it possible to tell bullet that something has happened in the past so it can take this information and adjust internal interpolation to show this change in the present? There would never be a need to go back in time more than 1-5 seconds, 5 being…
3
votes
1 answer

Libgdx bullet offset origin

i am using blender to create my models, and loading them into Libgdx, if i create them with the Origin in the center of the model like below and then use this code to create the rigid body, all works fine Vector3 hescoWallHalfExtents = new…
Spriggsy
  • 196
  • 1
  • 18
3
votes
2 answers

Bullet Physics: Body moves after fall (shakes and moves to the side)

I have a problem that I'm strugling to solve for a few days. I'm trying to make a bowling game using bullet physics, but the pin shakes, jiggles and moves to the side after I position it and it falls to the floor. Here is a GIF of what…
3
votes
1 answer

How do you control a player character in Bullet Physics?

I am not sure how you are supposed to control a player character in Bullet. The methods that I read were to use the provided btKinematicCharacterController. I also saw methods that use btDynamicCharacterController from the demos. However, in the…
user975989
  • 2,578
  • 1
  • 20
  • 38
3
votes
1 answer

How do I get bulletphysics/bulletsharps' multithreading working?

That is to say, what is the minimum set of code I need to set up the BulletSharp physics engine wrappers' "DynamicsWorld" to use "BulletSharp.MultiThreaded.ParallelConstraintSolver"? Alternately, I could probably work it out from the same set of…
Narf the Mouse
  • 1,541
  • 5
  • 18
  • 30
3
votes
1 answer

Bullet Physics Rigid Body bounces off surfaces

I wrote a player controller for my game that uses a rigid body to give the player physics. I set both restitution and friction to 0, and the mass to 80. My terrain has the exact same properties, just that the mass is also 0. Whenever the player…
Nik
  • 1,033
  • 2
  • 11
  • 28
3
votes
1 answer

Prevent collisions applying impulse in Bullet physics

I am developing third-person shooting game using Bullet and Ogre. When the character model collides with an object in the world, such as a power-up, the collision applies a force to the character and causes them to spin. How can I prevent the…
tgt
  • 1,308
  • 1
  • 10
  • 16
2
votes
1 answer

How do I set the position of a soft body in Bullet Physics

I'm trying to lock the movement of a soft body to the x axis. I want to be able to move left and right but lock it to the same position in the z axis. Even when I am applying a velocity along the x axis it can sometimes cause the body to move back…
henryprescott
  • 483
  • 4
  • 19
2
votes
1 answer

Bouncing ball in Bullet

I have two questions with regards to Bullet, but they are related. In the HelloWorldApp, the objective is to get a ball bouncing on a box right? If I wanted to test a plane, could I just add in a btCollisionObject with a btStaticPlaneShape instead…
mmurphy
  • 1,327
  • 4
  • 15
  • 30
2
votes
2 answers

Aframe ammo physics how to set bounciness or restitution?

I can't change the restitution (bounciness) either globally or on a per mesh basis when using ammo physics. So far I've included the libraries: