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

Automatically update sprite body polygons #33

Open hexus opened 7 years ago

hexus commented 7 years ago

Arcade Physics bodies update their bounds automatically.

Do the same for Arcade Slopes polygons.

See Phaser.Physics.Arcade.Body.updateBounds(). This could be the right internal method to override or extend.