skapunch/box2d

SolveTOI assertion

Closed this issue · 3 comments

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

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

  • Changed state: Fixed
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

Scratch that, user error...

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