darkf

Members
  • Content Count

    5
  • Joined

  • Last visited

About darkf

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. The http://phaser.io/examples/v2/box2d/raycasting example is still broken. :/
  2. Any ideas @rich? Can you reproduce this on your machine (see the Box2D Raycasting example on the Phaser site), or is this a known issue?
  3. I'm using P2 myself. My second post was remarking that the Box2D example is also similarly broken -- so it might be a Phaser issue rather than a P2/Box2D one.
  4. The official Box2D raycasting example: http://phaser.io/examples/v2/box2d/raycasting Is similarly broken, the ray doesn't intersect anything for me. This might be a Phaser bug/regression.
  5. Runnable code here: https://github.com/darkf/grr I'm using P2 physics and I'm trying to raycast to the mouse position. I've got a tilemap with physics bodies set up, and they show fine with debug draw on. However, the ray never hits any of the tile bodies, nor the player body. It only hits the top and left side of the world bounds. Screenshots attached. Is there anything obvious I'm doing wrong, or is this a bug?