Grid Movement Example

5262
5263
13
14

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