I have recently decided that I would like to have teleporters in my game... and while I know, basically, how to do it... I was wondering if Box2D in any way, would automatically do something if two dynamic bodies were teleported into each other? If not, does anyone have any idea on a more or less simple way, to keep them from getting stuck in each other (my main concern).
Teleportation (ANSWERED)
General DiscussionBodies with a single shape should always push each other apart. Compound shapes and ragdolls can get stuck together. At this point it comes down to your game design on how to handle things.
I'm not surpised that compound shapes would get stuck together. In all cases I can currently imagine, my objects at risk will be single shapes. Thank you for the answer.
Original thread: https://box2d.org/forum/viewtopic.php?t=679