favreau / bullet

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

btKinematicCharacterController nudges obstacles regardless of their mass #475

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile and run the btKinematicCharacterController Demo.

What is the expected output? What do you see instead?
The character should be stopped by other objects.  The character should not be 
able to push objects, regardless of their mass.  Further implementation of 
btKinematicCharacterController can account for obstacles and apply forces to 
them.

Currently, the character can nudge ANY non-static obstacles away due to small 
penetration issues and the manifolds forming on anything close to the 
ghostObject.

What version of the product are you using? On what operating system?
bullet-2.77 using Windows 7 64bit

Please provide any additional information below.

The problem is related to rigid bodies forming manifolds with the ghostObject.  
I've tried changing breaking thresholds and processing thresholds but that only 
destabilized the rest of the simulation.

Penetration seems inevitable, regardless of the margin size.

Original issue reported on code.google.com by m...@benquintero.com on 14 Jan 2011 at 8:11

GoogleCodeExporter commented 9 years ago
Old post but FWIW: you can set the flag CF_NO_CONTACT_RESPONSE on the ghost 
object and other objects cannot be pushed by it even if it penetrates. Actually 
I'm surprised this isn't default for "ghost objects" anyway.

Original comment by bjorn.we...@gmail.com on 29 Jul 2012 at 11:57

GoogleCodeExporter commented 9 years ago
Thanks for the suggestion Bjorn. Setting the CF_NO_CONTACT_RESPONSE is a good 
way indeed. 

Original comment by erwin.coumans on 9 Sep 2012 at 9:00

GoogleCodeExporter commented 9 years ago

Original comment by erwin.coumans on 11 Sep 2012 at 4:06