1
vote
2answers
121 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. ...
0
votes
1answer
120 views

Bullet 3D Physics Objects Not Rotating?

So I've got Bullet 3D controlling the motion of objects rendered with DirectX. In the clipping below I've got 2 identical rectangles & 5 balls. The lowest rectangle has a mass of 0 and doesn't ...
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 ...
0
votes
0answers
62 views

Exporting .bullet file from Blender Render

I'm trying to export my blender render bullet world to a .bullet file. Unfortunately, it seems like when I bring my bullet world to the game engine it drops the bullet info. Is there a way to export ...
2
votes
1answer
83 views

What are the parameters for btHingeConstraint::setLimit

What does each parameter in btHingeConstraint::setLimit do to the hinge constraint? void btHingeConstraint::setLimit ( btScalar low, btScalar high, btScalar _softness = ...
0
votes
1answer
80 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 ...
1
vote
1answer
212 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 ...
0
votes
0answers
172 views

Bullet Physics Raytrace Picking

I'm having trouble picking using bullet's raytrace code Here's what I have so far for creating the actual Ray float top = 1.f; float bottom = -1.f; float nearPlane = 1.f; float tanFov = (top - ...
1
vote
0answers
281 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 ...
2
votes
0answers
145 views

Bullet btGeneric6DofConstraint and btGeneric6DofSpringConstraint constructor arguments

I have a very simple (and maybe too primitive to post here but I’ll try anyway :P) question about Bullet constraints. What are arguments const btTransform &frameInA, const btTransform ...
2
votes
1answer
649 views

Bullet Physic: Transform body after adding

I would like to transform a rigidbody after adding it to the btDiscreteDynamicsWorld. When I use the CF_KINEMATIC_OBJECT flag I am able to transform it but it's static (no collision response/gravity). ...
2
votes
2answers
908 views

What is the best way to check if there is overlap between player and static, non-collidable items in bullet physic engine

I'd like to add non collidable objects (eg: power ups, items, ...) in a game world using Bullet Physics Engine and to know if there is collision between player and them. Some info : there is a lot ...
1
vote
0answers
352 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 ...
5
votes
1answer
1k views

Bullet Physics - Casting a ray straight down from a rigid body (first person camera)

I've implemented a first person camera using Bullet--it's a rigid body with a capsule shape. I've only been using Bullet for a few days and physics engines are new to me. I use ...
2
votes
2answers
875 views

How to load a terrain of connected caves into bullet-phisics engine?

I have a terrain that can not be represented as height map. Say a mountain with caves. I have it in one large .obj file. How do I load such a terrain into bullet-phisics engine? Or I shall generate ...
0
votes
1answer
311 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
3answers
325 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 ...
2
votes
1answer
1k views

Bullet Physics Terrain

Im trying to Load an RGB image (.BMP) into bullet's btHeightfieldTerrainShape Im using a loader that creates a openGL height map, it stores the data in a vector float, but I cant get the ...
7
votes
2answers
3k views

How would I move a character In an RPG with Bullet Physics/Ogre3D?

lately I have been having problems with moving my character in my Ogre3D game. Basically I am moving the character with bullet's RigidBody->translate() function, but when doing so and bumping into ...
3
votes
1answer
6k views

How do I integrate bullet physics into my game?

I downloaded the release file found here, but I'm just not sure where to start. In my game I have a number of oblongs and a sphere, I want all of these to collide with one another. (They all have ...
8
votes
2answers
3k views

How to disable Y-axis movement in the Bullet physics engine

I want to create an object than only moves along the the X and Z axes, while keeping the Y-axis disabled (it's like movement in 2D, and the object wont fall down). I'm currently using a 6 dof ...
2
votes
1answer
2k views

Object rotating error in Bullet Physics with OpenGL

I have got some problem in my OpenGL game. I am using bullet physics and I want to achive quite simple effect - I want one object (a sphere) to roll and hit another (box) which will fall down. I have ...
1
vote
1answer
682 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 ...
-1
votes
1answer
761 views

Bullet physics with OpenGL

I have got some problem implementing bullet physics into my opengl game. The thing is that it doesn't want to update my translatef value continously but only at the end. The code for bullet looks like ...
0
votes
1answer
589 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 ...
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: ...
3
votes
2answers
5k views

Ogre 3d and bullet physics interaction

I have been playing around with Ogre3d and trying to integrate bullet physics. I have previously somewhat successfully got this functionality working with irrlicht and bullet and I am trying to base ...
1
vote
1answer
321 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 ...
2
votes
2answers
2k views

How would I use GLM for Bullet Physics?

Right now im working on my c++ game, and im having alot of trouble using GLM and Bullet Physics to create my world correctly. The main problem is that when i export my physics with Blenderv2.57, and ...
6
votes
1answer
1k views

How can I get my meshes to work with Bullet Physics?

The problem is that I'm trying to use my meshes with Bullet Physics for the collision part of my game. When I attempted doing this method with my GLM(model loading library by nate robins) model, I ...
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 ...
7
votes
2answers
4k views

Is it worth it to use Bullet for 2D physics instead of Box2D for the sake of learning Bullet?

There isn't much more to the question. I'm not concerned about overhead, as I'm sure they are both fine for my purposes. Basically, I am familiar with Box2D concepts because of the Farseer Physics ...