• Advertisement
Sign in to follow this  

Make Ogre3D and bullet work together without wrapper

This topic is 2173 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I made an app from scratch with Ogre3D, and I'd like to integrate only collisions using bullet physics.

I understand I need to create btCollisionObject, add a shape to it (let us say a btSphereShape), and add it with btCollisionWorld::addCollisisionObject().

But how to I mirror movements of a SceneNode and a btCollisionObject ?

I also want to have not instantaneous gun bullets (eg for long range, like in max payne), and since those travel fast and are small there is a possibility of collision miss. What is the proper way of avoiding this ? Should I do a raycast at each step to check if the bullet will hit a target ?

I don't need those bullet to actually be affected by gravity or to tunnel throught multiple target, if it can save some cycles.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement