I've been working on my physics engine quite a bit lately. It can now support rigid bodies, portals, stick constraints, angular constraints, and different materials.
In scenes 3,6, and 7 the red walls represent portals. The portals only allow objects to enter through one side, if they cross over the backside it will act like there's no collision at all.
There used to be a drawing glitch that happened when you dragged an object and the mouse went behind a portal, though i think i've fixed it. If you spot any other bugs or inconsistencies please let me know.
The test should be able to run on any windows computer > NT.
link:
http://www.retrominded.net/RB_2D.zip
screens:




edit: attempt #2 at thumbnails...
In scenes 3,6, and 7 the red walls represent portals. The portals only allow objects to enter through one side, if they cross over the backside it will act like there's no collision at all.
There used to be a drawing glitch that happened when you dragged an object and the mouse went behind a portal, though i think i've fixed it. If you spot any other bugs or inconsistencies please let me know.
The test should be able to run on any windows computer > NT.
link:
http://www.retrominded.net/RB_2D.zip
screens:




edit: attempt #2 at thumbnails...