Jump to content

ChrisyChris

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. I think I'm having the same issue here, but annoyingly I can't see most of @samme's answers on this thread, the only one I can see is the one I've quoted ^^. Can anyone tell me where it is that I need to add this code to fix the issue?
  2. I have a group that contains a large number of children that are P2 physics objects. When I tween the group the sprites all move correctly, but their collisions occur in the position they were prior to the tween. Is there a good way to update the position of the bodies of all the children? Heres some super simplified code incase it helps: game.physics.startSystem(Phaser.Physics.P2JS); const collisionGroup1 = game.physics.p2.createCollisionGroup(); const collisionGroup2 = game.physics.p2.createCollisionGroup(); const targetsGroup = game.add.group(0,0); const ammoGroup = game.a
×
×
  • Create New...