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

learn more… | top users | synonyms

2
votes
1answer
466 views

Bullet physics: how to make a soft body “static” (kind of)?

I'm fairly new to Bullet and started using it a week ago. I mainly played with rigid bodies and everything works as expected but now that I also need to add soft bodies into my simulation, things got ...
2
votes
0answers
213 views

Inverse Dynamics How to [closed]

I have some motion capture data (kinect) that records all body joints (32fps) and I want to take particular positions (for example when a person moves both of his hands up in the sky in celebration ...
1
vote
1answer
559 views

What algorithms can I use for bullet movement toward the enemy?

I'm developing 2D strategy game. There are weapons that shoot at enemies. From what I've read in this, this, this and this post I think that I need linear algebra, but I don't really understand what ...
1
vote
3answers
1k views

How do you stop OgreBullet Capsule from falling over?

I've just started implementing bullet into my Ogre project. I followed the install instructions here: http://www.ogre3d.org/tikiwiki/OgreBullet+Tutorial+1 And the rest if the tutorial here: ...
1
vote
1answer
111 views

In a TPS, how to aim bullets to the direction the camera is pointing, but make the shooting from the player?

(In C#/XNA.) I mean, I can't find an answer nowhere. I'm trying to learn how to make a Third Person Shooter, especially like the one I found in a game called "M.A.R.S.", from Epic Games. I don't want ...
1
vote
2answers
165 views

What torque should I apply in Bullet to maintain a vertical orientation?

I have a RigidBody in Bullet. Each frame, I want to apply torque to correct its orientation toward an upright position (i.e. near-zero pitch and roll). I know its angular velocity and orientation. ...
1
vote
2answers
234 views

LibGDX - draw bullet physics bounding box

I am very new to game development and I am trying to debug my 3d collision bounds. Could somebody give me an example on how to draw the collision bounds of an object in libGDX? I assume it has ...
1
vote
1answer
426 views

Rotating a cube using jBullet collisions

How would one go about rotating/flipping a cube with the physics of jBullet? Here is my Draw method for my cube object: public void Draw() { // center point posX, posY, posZ float ...
1
vote
1answer
2k views

Detect two specific objects collision with bullet physics

I have got some problem with defining collision between objects in my game using bullet physics. I know that objects are colliding with each other simultaneously and I don't have to do anything more. ...
1
vote
2answers
468 views

How to correctly create bullet rigid from custom .mesh in Ogre?

Being new to 3d programming and bullet physics in particular, I am wondering how a 3d model or the mesh generated out of it effects the accuracy of bullet physics simulation. I have written a ...
1
vote
1answer
3k views

How to implement bullet physics in libgdx

I am new at game development want to know that how can I implement bullet physics in libgdx. I searched lot of things on Internet but nothing found worthy.
1
vote
1answer
95 views

Irregular oval collision detection

I am using a physics library based on the Bullet physics engine. How do I create an egg shaped object or a cylinder where the width differs from the depth (i.e. with an oval shape)? I'm not looking ...
1
vote
1answer
282 views

How to draw a plane equivalent to a given btStaticPlaneShape using OpenGL

With all other shapes in bullet, you can easily get the transform from the MotionState which holds the origin, the scale, and the rotation. There seems to be no way to get the same information about a ...
1
vote
2answers
352 views

Jump without bouncing in physics engine

I am using Ogre3D as my rendering API, and OgreBullet as my physics engine. I have an test entity that when the y part of the velocity is 0 and spacebar is pressed, the velocity changes to, lets say: ...
1
vote
1answer
361 views

Need help with a complex 3d scene (using Ogre and bullet)

In my setup there is a box with a hole on one side, and a freely movable "stick" (or bar, tube). This stick can be inserted/moved through the hole into the box. This hole is exactly as wide as the ...
1
vote
2answers
955 views

First person camera with Bullet Physics

Before integrating the Bullet Physics, the camera worked fine. But instead of using my own simple struct for transform data, I use rigid body structs provided by the physics library now. There are ...
1
vote
1answer
46 views

How to squash stretch the Bounding box so as to get Good Physics effect

I have Surrounded a game Object with a rectangular Box and applied Physics properties to that Box so that load on the computation gets reduced. But i have a problem, whenever in animation if the Game ...
1
vote
1answer
363 views

Roughly how many rigid bodies can I expect to have interacting in Bullet?

On my Phenom II desktop machine (about 3 years old) with 8GB of RAM, it seems that I can only throw around a hundred or two boxes before it starts to go slow. I'm using the built-in DbvtBroadphase. ...
1
vote
1answer
286 views

3D/perspective Top down shooter bullet issues

I'm developing a top-down shooter with multiple levels (ground for ground units, middle level for buildings, top level for air unity). The problem is the collision. Though I can make the collider ...
1
vote
2answers
611 views

Bullet physics in python and pygame

I am programming a 2D sidescroller in python and pygame and am having trouble making a bullet go farther than just farther than the player. The bullet travels straight to the ground after i fire it. ...
1
vote
1answer
326 views

How would I setup the Environment Variables for BulletPhysics?

I am using Bullet Physics v2.78. And Im trying to build this library to be used for ogrebullet. The main problem is that Im getting errors trying to find the Bullet Directory. Im wondering if maybe ...
1
vote
0answers
43 views

Bullet Physics ConvexDecomposition?

I've looked at Bullet Physics ConvexComposition Demo and would like to implement that in my game but the code is so undescriptive and it's hard to understand what is going on. Would any of you people ...
1
vote
0answers
312 views

Bullet Physics Simulation Running Slow

I'm in the process of converting my game engine from java which used the LWJGL and JBullet to c++. However, when I was implementing Bullet physics my simple simulation of a box dropping from specified ...
1
vote
0answers
365 views

3D game editor with C++ support and Bullet Physics [closed]

I am very new to game development and hence the question. Is there any open-source game editor that uses Bullet Physics engine with C++ code edit support.I have read about blender but it allows python ...
1
vote
0answers
106 views

colliding btRigidBody objects behave strangely when moving slowly

I'm trying to use Bullet Physics in my iOS game. The engine appears to be correctly compiled in that the demos work fine. In my game I have the player's ship and some enemy ships. They're defined as ...
1
vote
1answer
330 views

Offset Forward vector of object based on Rotation

I'm using the Bullet 3D physics engine in a iOS application running openGL ES 1.1 Currently I'm accepting info from the gyroscope to allow the user to "look around" a 3d world that follows a bouncing ...
1
vote
1answer
709 views

Change collision body position in Bullet Physics Hello World project

I have got stupid and annoying problem in my app. I am using bullet physics and I've started with hello world example on wiki: http://bulletphysics.org/mediawiki-1.5.8/index.php/Hello_World There is ...
0
votes
1answer
70 views

Multiplayer and creeps (NPC enemies): how to compute bullet hits given the lag?

We are making a multiplayer co-op game, where players will shoot not each other but AI enemies (creeps), controlled by the game. The chosen implementation is client-server with an authoritative ...
0
votes
1answer
393 views

How to use Bullet physics with Entity Component Systems?

I have an Entity Component system and I want to have a Physics Component that would add the given object to the physics simulation. My problem arises because the Bullet API requires me to add each ...
0
votes
1answer
650 views

Allegro Game Won't Fire 2D Projectile

To begin with I am developing a PSP application so I have no clue how to debug a PSP application. That doesn't mean I do not know how debug period. Anyway, when I run the game everything runs fine but ...
0
votes
1answer
578 views

Calculating bullet travel knowing coordinates and radian

I have a player sprite that has a x and y coordinate and also a radian. The radian determines which way the sprite faces in a top-down game interface. In this case, the radian points from the player ...
0
votes
1answer
3k views

Best 3D Physics Engine to use with Ogre [closed]

I am looking for a good physics engine to use with an Ogre game I'm writing. I would prefer for it to be free, open source, mature, simple to use, easy to learn, and flexible. I'm currently thinking ...
0
votes
1answer
97 views

Bullet - objects falling through

I have problem with bullet collisions. You can see problem on this video (around 0:18): http://goo.gl/DiVP8l Objects are "embeded" inside vertical bars - that is not correct - they should be ...
0
votes
2answers
439 views

Distance between two objects?

We are trying to determine the distance (a scalar, double) between two objects' surfaces in Bullet. We are new to the Bullet engine, and we've been looking into the demo projects, but couldn't find ...
0
votes
1answer
324 views

What is the best Broadphase Interface for moving spheres?

As of now I am working on optimizing the performance of the physics and collision, and as of now I am having some slowdowns on my other computers from my main. I have well over 3000 btSphereShape ...
0
votes
1answer
1k views

android game using bullet and libgdx

i'm developing a android project for school and i'm currently using libgdx for rendering. It performs quite well, but it lacks a 3d physics library. So i searched and found that Bullet physics engine ...
0
votes
1answer
63 views

How can I get a 4x4 matrix from a bullet quaternion?

I'm trying to make a game using JavaScript with Ammo.js ( an implementation of bullet ) and Sylvester to do my matrix maths. The problem is I don't know how to turn the WXYZ that bullet gives into the ...
0
votes
2answers
289 views

How to implement a simple bullet trajectory

I searched and searched and although it's a fair simple question, I don't find the proper answer but general ideas (which I already have). I have a top-down game and I want to implement a gun which ...
0
votes
1answer
84 views

Bullet3: Issue with applying force once an object is at rest

I just started using bullet and I'm having an issue where once my rigid body is at reset at the floor it won't move when I apply a force to it. I have created a small demo to show this using the ...
0
votes
1answer
108 views

making rigid body stop using friction

how am I suppose to apply friction to an object so that when I apply force it decelerates eventually to zero? Here are my physics objects: Rigid Body "Sphere" Collision shape: btSphereShape(0.50) ...
0
votes
2answers
237 views

Best collision shape for rooms

I'm wondering what is the most efficient collision shape to use with APIs like Bullet or Havok for rooms/interiors. Rooms tend to be boxes but are concave since the normals point inward which means no ...
0
votes
1answer
180 views

jBullet Collision/Physics not working as expected

Below is the code for one of my objects in the game I am creating (yes although this is a cube, I am not making anything remotely like MineCraft), and my issue is I while the cube will display and is ...
0
votes
3answers
340 views

How would I successfully split a vector to increase game performance?

Okay so I have a vector for all of the monsters that are spawned in my game. All of these monsters are in a single vector and are "active" according to what zone they are in relative to the player's ...
0
votes
0answers
18 views

Bullet Physics for Collision Detection and Smooth Response

I'm creating a game using LibGDX, and to prevent the need to spend lots of time writing collision detection code I've decided to make use of Bullet Physics, simply for collision detection and not for ...
0
votes
0answers
44 views

Trying to bounce a box with a plane using bullet physics

I'm trying to simulate a box that bounces with a plane and I'm beginner with bullet physics. I created a plane (box) and and a box that is falling. The problem is the ball is stalled while colliding ...
0
votes
1answer
11 views

Understanding HingeConstraint in jBullet

I'm using the java port of BulletPhysics engine jBullet. I'd like to make a joints between 2 triangles so that one edge of the first and one edge of the seconds act like a hinge. But I don't ...
0
votes
1answer
47 views

Bullet pointer becoming zero [closed]

I am currently trying to implement the Bullet physics into my game project. However, when i add some rigid bodies to the scene, i occasionally get an error in btDbvtBroadphase.cpp at the line ...
0
votes
0answers
31 views

How to get yaw of bullet physics vehicle?

I am using the Bullet Physics port to java, JBullet, and am trying to render a vehicle body that i created in Blender on top of the vehicle chassis. Since i cannot effectively find a way to render ...
0
votes
1answer
117 views

Friction not working for Vehicle in BulletPhysics

I am creating a vehicle using bullet-physics engine (v 2.82). I created a ground ( btBoxShape ), a box and a vehicle (following the demo). But friction between ground and vehicle wheels seems not ...
0
votes
0answers
87 views

JBullet quaternion to Euler angle conversion causes strange flipping behavior

I am making a game using JBullet (a Java port of C++'s Bullet library) for the physics and LWJGL for the graphics. However, JBullet measures angles in quaternions and LWJGL uses Euler or ...