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
2
votes
2 answers

Bullet debug drawer with OpenGL

I have been fiddling around with bullet for a bit and I now want to draw debug. I have an opengl world with working bullet physics and everything. What I have tried is this: I have created a class GLDebugDrawer like this: #include…
bogdan.css
  • 355
  • 6
  • 17
2
votes
1 answer

Irrlicht server side

I'm currently developing a multiplayer game with Irrlicht. So obviously, on the client side we have Irrlicht, to perform the rendering, and server side we have Bullet to perform the physics calculations. We are using Qt for the rest (GUI, network,…
linkdd
  • 1,015
  • 1
  • 10
  • 24
2
votes
2 answers

A ball inside a sphere using Bullet

I'm new at Bullet and all 3D and phisycs stuffs, so don't be angry :) I neen to create a big static rigid sphere and a little dynamic one inside. I want to use the big one like a bottle, so little sphere can move inside, but cann't leave the sphere,…
2
votes
0 answers

Does Bullet collision detection library provide boolean operations on worl objects geometry?

I need something alike CGAL gives in terms of simple boolean operations on top of 3d meshes but in lib Bullet. So I wonder if there is 3D Boolean Operations on meshes in Bullet? (cant find any dedicated chapter in manual, am I blind?)
myWallJSON
  • 9,110
  • 22
  • 78
  • 149
2
votes
0 answers

How to handle sprites more than 200 with SpriteList of Playstation Mobile SDK?

I am working on 2D shooter game which includes hundreds of bullets and implemented a simple test based on PlayStation mobile SDK tutorial, and slowing down of the frame rate is my main problem. Scene is scheduled to generate bullet object inherited…
Walker
  • 23
  • 4
1
vote
2 answers

Links in lists- getting a consistent a:hover effect

when I create a list of links and give those links an a:hover state, I want the entire link, including the bullet point, to highlight on hover. But what because my list has a defined width which is wider than the As, the LIs pick up the :hover and…
Ila
  • 3,528
  • 8
  • 48
  • 76
1
vote
1 answer

Bullet Gem for Ruby on Rails App not working

I have installed the Bullet gem for rails to try and clear out some of my N+1 queries, however I can't get the gem to work. First I added the gem to the very end of my Gem file and ran bundle install gem 'bullet', group: 'development' Then I added…
OdaTruth
  • 75
  • 12
1
vote
1 answer

Making a Bullet move towards a Target without following the Target using Pgzhelper in Pygame Zero

Question: How can I make a bullet move towards a target without following the target using Pgzhelper in Pygame Zero? I wanted to share this with a lot of people that may have the same trouble using Pygame Zero: The problem may stem from people…
1
vote
0 answers

LibGDX Bullet Collision detection not working

I am making a LibGDX game using 3D physics. I enabled the Bullet extension when generating the project. For the 3D physics, I was following the tutorial here: https://xoppa.github.io/blog/using-the-libgdx-3d-physics-bullet-wrapper-part1/ However,…
1
vote
0 answers

AmmoJS btBvhTriangleMeshShape not colliding

Similar questions here and here but no answers or wrong language. I've created a btBvhTriangleMeshShape from a GLB object I created in Blender. But my objects just fall straight through it. I've nicked Enable3D's DebugDrawer and looking at the…
powerbuoy
  • 12,460
  • 7
  • 48
  • 78
1
vote
1 answer

Cannot see bullets when game is running

Hello, so I can only see the bullet when i'm closing my game's window, but I do not see the mistake. import pygame, math, random, os pygame.init() clock = pygame.time.Clock() width = 800 height = 608 screen = pygame.display.set_mode((width,…
Mhmm.
  • 11
  • 2
1
vote
1 answer

Markdown heading with a bullet

I am aware this might be a weird requirement that does not fit into the semantics of markdown, but is it possible have a bulleted heading? I.e. is there a way to combine # Key point with - Key point into something like # - Key point? Obviously, this…
ccpizza
  • 28,968
  • 18
  • 162
  • 169
1
vote
1 answer

How to get depth images from the camera in pyBullet

In pyBullet, I have struggled a bit with generating a dataset. What I want to achieve is to get pictures of what the camera is seeing: img = p.getCameraImage(224, 224, renderer=p.ER_BULLET_HARDWARE_OPENGL) Basically: to get the images that are seen…
M.K
  • 1,464
  • 2
  • 24
  • 46
1
vote
0 answers

Unity 2D Shotgun shoot not working when eulerangles is 180

I am trying to make 5 bullets shoot in different directions at once (-30, -15, 0, 15, 30) It works when I shoot in right direction, but when I shoot left(rotation(0,-180,0) , it ignores its rotation and moves in straight line. For bullet move I am…
sEUf Cho
  • 11
  • 1
1
vote
1 answer

Difference between setinterval with an exist function and lambda expression for class in js

I'm making a simple game with javascript that you can fire bullet to enemies. Actually I don't have any problem making it but: I made a class for my bullets that it has a Move function and I want to set an interval for it but when I set an interval…