lianlab / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

Bumpy collision detection with BVH #195

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The issue seems to be a regression on bullet 2.73.

The movement of a character (btCapsuleShape) over a bad shaped BVH ground
became very bumpy after updating from bullet 2.72 to bullet 2.73. 

The attached reproduction case shows the problem. It consists in a capsule,
simulating a character, that walks back and forward over two different
grounds. The left one is the bad shaped one (as you can see by pressing
'w'), the right one is the good shaped.

If linked against bullet 2.72, the capsule movement is smooth over all the
ground. If I use bullet 2.73 or 2.74beta1, the capsule movement is bumpy,
mainly on left side.

See also:
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3158

Original issue reported on code.google.com by lve...@gmail.com on 19 Feb 2009 at 8:32

Attachments:

GoogleCodeExporter commented 9 years ago

Could you try latest SVN trunk of Bullet, and use 

capsule->setContactProcessingThreshold(0.);

And see if that helps?

Original comment by erwin.coumans on 3 Mar 2009 at 7:12

GoogleCodeExporter commented 9 years ago
Hey! Worked greatly! Is this the best place to discuss what is this
"setContactProcessingThreshold"?

Original comment by lve...@gmail.com on 3 Mar 2009 at 9:12

GoogleCodeExporter commented 9 years ago
Great.

All discussion should happen in the Bullet forums. Please start a new topic 
there.

Original comment by erwin.coumans on 3 Mar 2009 at 10:47