hexus / phaser-arcade-slopes

:triangular_ruler: A Phaser CE plugin that brings sloped tile collision handling to the Arcade Physics engine
MIT License
126 stars 16 forks source link

Ignormals #48

Closed hexus closed 6 years ago

hexus commented 6 years ago

Replaced heuristics with a smarter (still slightly heuristic) approach to avoiding unwanted collisions for AABBs. Customised functions from SAT.js in order to achieve this.

Implemented debug rendering for tile normals and ignormals.

Improved performance by way of pooling arrays, response objects, vectors, and so on.

Removed the snap feature.