yoshinoToylogic / bulletsharp

Automatically exported from code.google.com/p/bulletsharp
MIT License
0 stars 0 forks source link

contactTest positive but no manifolds found #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, I am trying to detect contact between meshed objects. I am creating 
BvhTriangleMeshShape objects using a parser to read .stl files. As a test, I 
tried loading three known meshes with two of them colliding (double checked). 
However, no manifolds are found, even if the contactTest() function called for 
each object actually detects a contact. Attached is an image with colliding 
objects A and B (in red) and non-colliding object C.

What steps will reproduce the problem?
1. load mesh A, B and C as BvhTriangleMeshShape with a known clash between A 
and B
2. call world.PerformDiscreteCollisionDetection(); int numManifolds = 
world.Dispatcher.NumManifolds;

3. call ContactTest() for each collisionObject

What is the expected output? What do you see instead?

expected output: numManifolds > 0, contactTest() finds a contact
actual output: numManifolds = 0, contactTest() finds a contact

What version of the product are you using? On what operating system?
2.83

Please provide any additional information below.

Original issue reported on code.google.com by niccolo....@gmail.com on 7 Jul 2015 at 10:43

Attachments:

GoogleCodeExporter commented 8 years ago
I am working on Windows 8.1

Original comment by niccolo....@gmail.com on 7 Jul 2015 at 10:45