Slow Simulation - Trimesh Collisions

Please don't post Bullet support questions here, use the above forums instead.
kmon7485
Posts: 11
Joined: Mon Jan 04, 2010 5:48 am

Slow Simulation - Trimesh Collisions

Post by kmon7485 »

Hi all,

Sorry for all the recent posts, I'm kind of new to Bullet.

I have a rather large trimesh (makes a car hull - no wheels etc) and whenever it collides with
the ground plane the simulation begins to slow dramatically, like 10 times slower! :(

Is this due to the number of collisions that are occuring when the trimesh meet the ground plane?
How do i go about speeding up the simulation process, without adjusting the step simulation timing??


NOTE: The trimeshes must be dynamic, not static, so using btBvhTriangleMeshShape probably won't work
bone
Posts: 231
Joined: Tue Feb 20, 2007 4:56 pm

Re: Slow Simulation - Trimesh Collisions

Post by bone »

kmon7485 wrote:Is this due to the number of collisions that are occuring when the trimesh meet the ground plane?
Most likely.
kmon7485 wrote:How do i go about speeding up the simulation process, without adjusting the step simulation timing??
One idea is to simplify the trimesh for purposes of collision. Are you using a trimesh that is identical to the graphical model? That's going to be difficult for realtime collision detection.