Questions tagged [bullet]

The Bullet Physics Library 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. **Do not use this for bullet points. Use [bulletedlist] instead. For bulleted lists in HTML, use [html-lists]. For generic bullet/projectile calculations use the [projectile] tag.**

From Bullet's main project page:

The 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: bulletphysics (https://stackoverflow.com/tags/bulletphysics/info)

288 questions
3
votes
2 answers

Ordered Bullet List using Arabic letters in HTML

I would like to make a bullet list of arabic text in html like the following: أ. السطرالأول ب. السطرالثاني ت. السطرالثالث ث. السطرالرابع I tried a couple things including: li { list-style: AL; } @counter-style AL { symbols: 'أ' 'ب' 'ت'…
mj1261829
  • 1,200
  • 3
  • 26
  • 53
3
votes
1 answer

Using VBA to set bullets and sub bullets

I would like to create a macro on powerpoint, when I highlight a portion of the text and run the macro. it will create a level1 round bullet. I intend to use this as the base to create level 2 (sub-bullets, nested within level 1), and level 3, but…
Gerald Tao
  • 31
  • 1
  • 3
3
votes
1 answer

how to rotate a bullet according to the player's rotation

I've finally figured out how to shoot bullets but now I want to rotate the origin of the bullets on the rotation of the players head. Now it's only shooting straight on the x line. The mobs are working fine. I only need to add in collision and the…
Ectrizz
  • 139
  • 2
  • 10
3
votes
1 answer

Does anyone have examples/tutorials on how to use Bullet Physics/jBullet to do voronoi shattering?

I'm trying to get something working with jBullet physics and voronoi shattering. I can find videos galore of it working, just no code examples. Java or C++ is fine. Just need an example of some code. Can't find a single example of doing this. If…
max
  • 2,346
  • 4
  • 26
  • 34
3
votes
1 answer

Stop a btKinematicCharacterController from sliding down slopes

I wasn't sure if this was the correct forums to post this on; I was considering the Game Development site. I'm developing a game in LibGDX (Java) and I've set up a btKinematicCharacterController to control the player. This handles the jumping,…
Jacob Garby
  • 773
  • 7
  • 22
3
votes
1 answer

Instantiating a C++ struct derived from a class in cython

I am trying to interface Python to the Bullet Physics C++ library using Cython. I would like to do this at C speeds, or near C speeds with minimal variable packing and unpacking from Python. I was able to use this approach to create a Cython…
rpdrewes
  • 147
  • 11
3
votes
1 answer

How to see Bullet logs in Sidekiq worker?

Is there any way of seeing Bullet logs while the work is processed in Sidekiq worker? When I perform N+1 query in Sidekiq worker (through ActiveJob queue adapter) I don't see the usual Bullet log in neither the Rails console nor the Sidekiq console.
Martin Svoboda
  • 297
  • 1
  • 4
  • 18
3
votes
2 answers

How to get the Euler rotation of a rigid body between 0 to 360 in Bullet Physics?

I am currently trying to get the rotation of an object. I am using C++ and Bullet Physics. This is my code: btScalar x, y, z; body[0]->getCenterOfMassTransform().getBasis().getEulerZYX(z, y, x); However, as I rotate the object around clockwise the…
3
votes
1 answer

Libgdx - Why is Bullet and FreeType is not compatible with HTML?

I have attempted to do the following When I tried to check either Bullet or FreeType or Both, the following pops up I do not get why?
Fish
  • 1,689
  • 1
  • 18
  • 28
3
votes
1 answer

Bullet physics mass center and weird object reaction

I am new in bullet, and i have probably a basic problem. I try to simulate bowing pin falling, but they after falling down, getting up by themselves without any force added. I wonder where is my mistake, can anyone of you help, i would be grateful.…
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
0 answers

Irrlicht Bullets

I have been attempting to utilise bullets within Irrlicht to no avail. I have attempted to code two sets of bullets. I have a "laser" and a "rocket". The former fires a billboard, the latter fires a mesh. I have managed to create a working billboard…
Rellac
  • 63
  • 6
3
votes
1 answer

Bullet vehicle wheels fall behind and wrong chassis pitch direction

I have created a bullet vehicle with a attached turret at the top like this: gEngineForce = 0.f; gBreakingFrontForce = 0.f; gBreakingBackForce = 0.f; maxEngineForce = 20000.f; minEngineForce = -2000.f; maxBreakingFrontForce…
bogdan.css
  • 355
  • 6
  • 17
2
votes
1 answer

How do you stop OgreBullet Capsule from falling over?

I've just started implementing bullet into my Ogre project. I follows the install instructions here: http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+1 And the rest if the tutorial here: http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+2 I got…
Nathan
  • 791
  • 1
  • 8
  • 16
2
votes
0 answers

Disable bullet rails for one test file

I have followed this suggestion and I have disabled bullet for one test file. https://tosbourn.com/ignore-bullet-rspec/ But I am now getting an error from bullet Failure/Error: expect { perform_notifications }.to…
1 2
3
19 20