phaserjs / phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
https://phaser.io
MIT License
37.12k stars 7.1k forks source link

Collision detection with polygons #1876

Closed danielgindi closed 9 years ago

danielgindi commented 9 years ago

It seems like setPolygon was removed from the body in arcade physics, in Phaser 2.0. Is there a substitute?

photonstorm commented 9 years ago

That was removed a long time ago. If you need polygon level collision you need to use P2 instead of Arcade.