Using Bullet In a Continuous World

michaely
Posts: 1
Joined: Wed Nov 16, 2005 1:28 am

Using Bullet In a Continuous World

Post by michaely »

Hi, I'm a newbie to Bullet.
I want to use Bullet in my game project for collision detection which has a infinit continuous world.
My question is how to setup parameters about min and max AABB, when I initialize "bt32BitAxisSweep3".
The document said "Don't set aabb too larger, it will cause poor performance".
Please Help me.Thanks.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Using Bullet In a Continuous World

Post by Erwin Coumans »

btAxisSweep3 and bt32BitAxisSweep3 should use compact world bounds, don't pass infinite.

You can use the btMultiSapBroadphase, and add a grid of multiple broadphases, each of finite size,

or even better wait a few weeks for Bullet 2.69 and start using the btDbvtBroadphase instead.

Hope this helps,
Erwin