yoshinoToylogic / bulletsharp

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

Contact Information problem #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I have problem with this code.
for (int i = 0; i < world.Dispatcher.NumManifolds; i++)
{
  PersistentManifold pm = world.Dispatcher.GetManifoldByIndexInternal(i);
}

What is the expected output? What do you see instead?
I need contact info about collisoinPair(RigidBodies), but in PresistentManifold 
is only NumOfContacts and it is empty. I explect something like pm.Body0 and 
pm.Body1? Its not implemented yet or im doing something wrong?

What version of the product are you using? On what operating system?
Win7 bulletsharp0.14

Please provide any additional information below.
Before I have problem with ghostObject. Now works fine for my purpose( im using 
ghost.GetOverlapingObject(i)), but in OverlapingPairs array I expect pairs of 
object in collision, but there is similar information as in 
GetOverlapingObject(i).

Thanks Pavel Brandejsky

Original issue reported on code.google.com by pavel.br...@gmail.com on 19 Apr 2011 at 9:49

GoogleCodeExporter commented 8 years ago
PersistentManifold::Body0 and Body1 have not been implemented yet. I'll try to 
do that soon.

Thanks!

Original comment by andres.traks on 20 Apr 2011 at 6:35

GoogleCodeExporter commented 8 years ago
The Body0 and Body1 getters are there now.

Original comment by andres.traks on 29 Apr 2011 at 10:04

GoogleCodeExporter commented 8 years ago

Original comment by andres.traks on 11 Mar 2012 at 12:29