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.
Using Bullet In a Continuous World
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Using Bullet In a Continuous World
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
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