Jump to content

[1.1.5] Sprite vs Group collision


Recommended Posts

Hi folks,


I'm new to Phaser, seems like a nice framework so I decided to try it for recent Flappy Jam.


However I cannot wrap my head around sprite vs group collision.


I'm creating a rotated group (let's say 45 degrees) which consist of 2 sprites (lower/higher pipe parts).

But that rotation of group cause player to collide directly with AABB bounding boxes generated around rotated sprites.


How can I achieve desired collision directly on sprite within group? How can I switch from AABB to SAT based collisions?


Please see attached image for better description of a problem.



Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...