behdad / box2d

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

[RFE] Multiple Body->SetTransform() without FindNewContacts() #290

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Related with this forum entry 
http://www.box2d.org/forum/viewtopic.php?f=3&t=8757 it seems it could be useful 
to have a separation between the body->SetTransform() and 
contactManager->FindNewContacts() in cases where multiple bodies 
transformations are updated. 

The idea, if it sounds interesting for anyone, is to be able to call multiple 
body->SetTransform() without triggering the contactManager->FindNewContacts() 
each time, and probably call it once at the end, maybe manually or maybe just 
avoid calling it and wait to the next world.step() to calculate contacts, I am 
not sure if that is reasonable or not for the normal use case of the physics 
engine.

Thanks for reading.

Original issue reported on code.google.com by ariel.co...@gmail.com on 18 Aug 2012 at 4:02

GoogleCodeExporter commented 9 years ago
Completed: At revision: 262  

Removed call to FindNewContacts.

Original comment by erinca...@gmail.com on 23 Oct 2013 at 6:49