yoshinoToylogic / bulletsharp

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

PersistentManifold.ContactProcessed missing? #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On the Wiki, it says I can listen to the PersistentManifold.ContactProcessed 
event:
https://code.google.com/p/bulletsharp/wiki/CollisionCallbacksAndTriggers

However, there is no event for ContactProcessed on the PersistentManifold.  I 
can see something about it in the source here: 
https://code.google.com/p/bulletsharp/source/browse/trunk/src/PersistentManifold
.h 

I am using 2.81 for .NET 4.0.

Any thoughts / help / examples would be much appreciated. :)

Original issue reported on code.google.com by asheepca...@gmail.com on 24 Jun 2013 at 1:35

GoogleCodeExporter commented 8 years ago
ContactProcessed was added after the 2.81 release. Since Bullet hasn't had a 
version 2.82, but there are many additions to BulletSharp, then there will be 
an intermediate release this week.

Original comment by andres.traks on 24 Jun 2013 at 1:45

GoogleCodeExporter commented 8 years ago
Ah, thanks.  So just to make sure I understand, you will be releasing an 
intermediate release this week?

Original comment by asheepca...@gmail.com on 24 Jun 2013 at 3:41

GoogleCodeExporter commented 8 years ago
Yes. It might happen today even. Just need to do some testing and cleanup and 
stuff.

Original comment by andres.traks on 24 Jun 2013 at 3:48

GoogleCodeExporter commented 8 years ago
Ah, awesome.  So impressed by how you manage this project. :)

Original comment by asheepca...@gmail.com on 24 Jun 2013 at 3:54

GoogleCodeExporter commented 8 years ago
Thanks! :)

You can try the r528 release now.

Original comment by andres.traks on 26 Jun 2013 at 1:26

GoogleCodeExporter commented 8 years ago
Thanks, that event works perfectly now.  I'm a bit confused by the changes to 
the ManifoldPoint.ContactAdded event now, which no longer accepts a return 
value?

Cheers!

Original comment by asheepca...@gmail.com on 10 Jul 2013 at 2:07

GoogleCodeExporter commented 8 years ago
Yes, it's .NET standard practice to not return anything in events, because 
multiple subscribers might return multiple values, which is confusing. In C++ 
it's not a problem, because there's only one subscriber. Also, Bullet currently 
does not use the return value, so I decided to leave it out.

Original comment by andres.traks on 21 Jul 2013 at 8:42