Madclaws

Members
  • Content count

    3
  • Joined

  • Last visited

  1. body.overlapX/overlapY always giving 0 in Phaser?

    Ok sorry for the question.Because of Arcade physics being AABB i can't really check collision with rotated objects.So i override phaser's separate function with my own collision checking.So there should be no overlapX.I'm a fool.Sorry again. Between is there any way to check collision of rotated objects in Arcade Physics.
  2. body.overlapX/overlapY always giving 0 in Phaser?

    thanks for replying ,but i called physics.arcade.overlap() .Then I called object1.body.overlapY in its callback function.
  3. I want to check how much of my second sprite is overlapped with first sprite in callback function,so that i can determine if the overlap is enough for(% of overlapping) for further process.But when i check that with overlapY/overlapX .i am getting 0 always .Please help.