devx123x Posted August 10, 2015 Share Posted August 10, 2015 Is it possible to adjust the arcade physics collision boxes of tiles in a tilemap? You can change the offset and size of the body for a sprite, but can you do the same with a tile? Link to comment Share on other sites More sharing options...
drhayes Posted August 11, 2015 Share Posted August 11, 2015 Depends what you're trying to do, but check out Phaser.Tile#setCollisionCallback. If your callback doesn't return true then whatever collided with the tile won't actually collide with it, if that makes sense. You could simulate a thinner or shorter tile that way by checking the intersections manually. Link to comment Share on other sites More sharing options...
Recommended Posts