Single mesh ou several simple shapes?

josemarin
Posts: 38
Joined: Fri Aug 12, 2005 5:37 pm

Single mesh ou several simple shapes?

Post by josemarin »

Hi,

The levels for my game could be defined as a group of simple static shapes (boxes, convex hulls, etc).

For Bullet, it would be faster to use these shapes ou build a single btOptimizedBvh ?

Thanks

Jose
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Single mesh ou several simple shapes?

Post by Erwin Coumans »

Generally it is faster to use simple shapes. You can store them directly in the world. Using the btDbvtBroadphase will accelerate the broadphase culling process.