pdiddles03 Posted April 27, 2017 Share Posted April 27, 2017 Why does "sprite.body.onFloor()" always return false, unless it is inside the collision function? Has anyone experienced this issue? Link to comment Share on other sites More sharing options...
samme Posted April 27, 2017 Share Posted April 27, 2017 For a sprite on a tilemap layer, onFloor() refers to the result of the last collision test. You can use it immediately after calling arcade.collide() — see examples/v2/games/starstruck . Link to comment Share on other sites More sharing options...
Recommended Posts