erincatto / box2d

Box2D is a 2D physics engine for games
https://box2d.org
MIT License
8.09k stars 1.52k forks source link

Fix and test for issue 636 #640

Closed erincatto closed 4 years ago

erincatto commented 4 years ago

b2Body::SetTransform now tells b2World to find new contacts at the beginning of the steps. Added unit test to ensure this works correctly.