Grid Movement Example

5999
6000
20
21

INSTRUCTIONS

Arrow keys to move.

DESCRIPTION

The movement logic checks that the space is available before moving, using a RayCast block.

NOTE: the position blocks are set to use grid position to make sure the player moves to the next grid cell

Editor