jacobjames

Members
  • Content count

    1
  • Joined

  • Last visited

  1. Hi all, I have a game where I am 'faking' a camera rotation by changing the angle of the world. However, my UI (although fixed to camera) is transforming with the world. My solution was to use a group for transformation instead (by putting everything that I need to rotate in a group called 'worldGroup'). This almost works perfectly, except that now the physics bodies (P2JS) are not transforming with the group/sprites, so my collisions are all over the place instead of staying with the sprites. Does anyone have a solution for this? My only current solution is to learn how to make the UI on top of Phaser from CSS or something like that. Any help is appreciated!