jsgoller1 / sprawl

2D Game Engine
GNU General Public License v3.0
0 stars 0 forks source link

Stacking test collisions clip through objects #36

Open jsgoller1 opened 1 year ago

jsgoller1 commented 1 year ago

Summary

If we have a floor (no gravity/forces), a player (gravity, forces) and a vertical stack of objects (gravity, forces), and the player collides with the stack of objects and then continues attempting to move through them, we get some very weird collision behavior (see the stack-up physics test). Mainly, the player and some of the objects clip through each other, or worse through the floor and begin to fall. We do not know what the root cause is yet.

Details