Jump to content

Phaser's P2 physics behaviour in Group


Recommended Posts

Hi there.


I have some sprites which all have physics p2 bodies enabled. I've added all those sprites to a some group. But when I try to scale down/up that group or just change it's position, bodies of those sprites stay where they currently where positioned. ie,  when I scale down the entire group to, say (0.5, 0.5), all the sprites in that group scale down to half their size normally, but their p2 bodies stay where they  are and don't resize. 

I'm guessing there must be some way to add sprites' bodies to the group, so they can be resized/be moved normally as their parent sprites?



Link to comment
Share on other sites


  • Recently Browsing   0 members

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