behdad / box2d

Automatically exported from code.google.com/p/box2d
2 stars 12 forks source link

SolveTOI assertion #247

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://box2d.org/forum/viewtopic.php?f=3&t=7643

Original issue reported on code.google.com by erinca...@gmail.com on 22 Sep 2011 at 12:10

GoogleCodeExporter commented 9 years ago
Command: Commit  
Modified: D:\Development\Box2D\Box2D\Box2D\Dynamics\b2Body.cpp  
Sending content: D:\Development\Box2D\Box2D\Box2D\Dynamics\b2Body.cpp  
Completed: At revision: 235  

Original comment by erinca...@gmail.com on 25 Sep 2011 at 8:16

GoogleCodeExporter commented 9 years ago
So this fixes some issues with contacts not getting cleaned up, but 
unfortunately it breaks in regards to sensors. If we do the correct thing, and 
cache all contact/sensor information during the physics step, and in doing so 
keep track of what has entered certain sensor regions, if the body is then 
changed from dynamic to say, kinematic, physical contacts are destroyed and the 
listener is notified -- but the listener is never notified if that b2Contact is 
a result of a sensor "collision".

Original comment by jus...@backflipstudios.com on 10 Jan 2012 at 10:59

GoogleCodeExporter commented 9 years ago
Scratch that, user error...

Original comment by jus...@backflipstudios.com on 11 Jan 2012 at 11:31