Hi. Im box2d beginner. I develop multiplayer game with Box2d. I have server b2World with main logic and client b2World for interpolation actions when client have a lag. So I need to update client world bodies (x,y, rotation etc.) when receive new data from server. If I use b2Body.SetXForm(new Vec2d(x,y), r) scene goes wrong. After movement my object dont collite with others. How to move objects correctly? Sorry for my english ).
How to teleport b2Body corretctly?
Games and ApplicationsSo, that was because I move my b2Body objects out of the b2World
Original thread: https://box2d.org/forum/viewtopic.php?t=5394