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

Flag internal polygon edges #18

Closed hexus closed 7 years ago

hexus commented 7 years ago

Currently, tiles have each bounding box edge flagged if they are internal, but no such check is done for the vectors that the actual polygon comprises of.

This would be useful for restricting testable edges when raycasting, especially with ray bouncing.

hexus commented 7 years ago

Sorted. A clean solution that doesn't actually seem too slow. Bingo. :+1: