Grid Movement Example

5998
5999
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