2
votes
2answers
202 views

Spherical / Relative Gravity

I'm working on an Ogre3D + Bullet project that involves planets in a solar system. For all intents and purposes, I'm looking to give each planet it's own gravity sphere. So far, all I've found are ...
0
votes
2answers
928 views

How to set the object's world position in bullet?

In my Ogre3d application I am first changing the parent of a node like this: // save object "Cube" into node*; then ... Vector3 absPos(node->_getDerivedPosition()); Quaternion ...
2
votes
1answer
42 views

Stick 2 btRigidBodies together

I have a platform with btBoxShape as shape, and I want to rotate it every certain amount of time to simulate a rotating platform. Right now I rotate it with Ogre (my rendering engine) and use a ...
0
votes
1answer
504 views

Detect when a bullet rigidbody is on ground

I have a rigidbody that is on top of a plane or another rigidbody. How do I check if said rigidbody is on top of it? I tried to check the Y-part of the velocity but it is never 0, it is always a ...
1
vote
2answers
332 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
352 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 ...
3
votes
2answers
434 views

Choosing a correct collisionshape for a voxel engine

I am building a voxel engine on Ogre with bullet as a physics engine. I separated my blocks into chunks to help batch together render calls. At the moment, each chunk's physics is handled by a ...
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 ...
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 ...
3
votes
0answers
385 views

Setting Orientation of Character in Bullet/Ogre [closed]

I've been suffering from an issue regarding the implementation of orienting characters in a game I'm implementing using Ogre3D and Bullet physics. What I have: A Direction Vector that the character ...
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 ...
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 ...
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 ...