Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
31 views

Issue with Bullet3 contact points on triangle edges

I'm trying to build a character controller using Bullet3 with OpenGL. I currently have a kinematic body that uses a Ghost body to get all the manifold contacts. The issue I'm facing is in the ...
Aaron Z's user avatar
  • 143
0 votes
0 answers
62 views

Bullet physics incorrect rotation with more than one axis

im try to integrate currently bullet into my game framework. But when i try to set the rotation for an rigidbody with more the 1 axis i recive the current result It looks that the rotation is ...
Andy's user avatar
  • 13
1 vote
1 answer
433 views

PyBullet & OpenGL - Rotations are reversed in OpenGL [closed]

Project description: I am writing a basic game engine to help with my PhD topic on multi-agent learning. I am using PyBullet as the backend physics engine and OpenGL for visual display. I have OpenGL ...
Ed Adcock's user avatar
0 votes
1 answer
307 views

Soft Body rendering from OBJ model

As part of my master thesis I have to do an softbody simulation. I 'm using Bullet Physics engine. I'm trying to render softbody, create from Meshes, with Shaders in OpenGL but the object doesnt ...
franadam's user avatar
0 votes
1 answer
389 views

Bullet Physics DebugDraw Unexpected Results

I'm integrating Bullet Physics into my project for collision detection and have just gotten some debug draw functionality to work. However, the results are not what I'm expecting. I have tried to draw ...
whitwhoa's user avatar
  • 201
1 vote
1 answer
1k views

Bullet Physics Integration - direct movement of rigid bodies

I'm adding bullet physics to my engine. The physics simulation bits are all working nicely, but one bit I'm struggling with is being able to move objects using their co-ordinates, and then have them ...
Figwig's user avatar
  • 196
1 vote
1 answer
495 views

Detect collision with bullet physics, to make a character controller

I inherited from btCollisionWorld::ContactResultCallback but I really have no idea how to use this virtual function: ...
djofriend's user avatar
0 votes
0 answers
351 views

btRigidBody world transform and scale issue

When I create a collision shape for rigid body (in this case box) I use vertices positions and scale from the opengl matrix, the code looks this way: ...
Irbis's user avatar
  • 103
4 votes
1 answer
1k views

Graphical mesh lags behind collision shape in BulletPhysics debug drawing

In Bullet Physics when I debug draw physics world the graphical mesh lags behind the collsion shape. ...
Manmohan Bishnoi's user avatar
1 vote
1 answer
793 views

Bullet Physics / OpenGL Meshes Not Colliding

This is for a school project, and I'm having a bit of trouble with Bullet acting strangely. I have an OpenGL project with Bullet Physics library working with Assimp model loaders and Magick++ ...
Brittany Mcgarr's user avatar
1 vote
1 answer
1k views

How to Load a Level for use with the Bullet Physics Library

I am trying to use a level in .obj format loaded with Assimp to generate a btBvhTriangleMeshShape to use with the Bullet physics library. I can successfully load <...
SelymAI's user avatar
  • 43
1 vote
1 answer
1k 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 ...
Ryan Bartley's user avatar
1 vote
2 answers
3k 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 ...
danijar's user avatar
  • 5,741
6 votes
1 answer
2k views

Bullet Physics implementing custom MotionState class [closed]

I'm trying to make my engine's camera a kinematic rigid body that can collide into other rigid bodies. I've overridden the btMotionState class and implemented setKinematicPos which updates the motion ...
Arosboro's user avatar
  • 161
2 votes
1 answer
4k 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 ...
Dan's user avatar
  • 21
1 vote
1 answer
4k 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. ...
sebap123's user avatar
  • 285
4 votes
1 answer
4k 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 ...
sebap123's user avatar
  • 285
0 votes
1 answer
2k 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 ...
sebap123's user avatar
  • 285
0 votes
1 answer
2k 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 ...
jernej's user avatar
  • 161
3 votes
2 answers
4k 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 ...
Molmasepic's user avatar
6 votes
1 answer
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 ...
Molmasepic's user avatar