itch.io is community of indie game creators and players

Devlogs

Dev Update #3 - Polyline Collider

Shape Engine
A downloadable Game Engine Demo for Windows and Linux

I have finished the polyline collider collision system. Implementing the one-way collision system was a little bit trickier than expected but now shapes can pass through segments/polylines in one direction but not the other. If a shape can pass through depends on the surface normal of the segment and the velocity of the shape. Are those 2 vectors aligned (face in the same direction) then the shape can pass through, otherwise the shape collides.

Download Shape Engine
Leave a comment