I Thinking about remaking dungeon master(yeah the Atari st game), and I’d love to get a little help with the controls. whats the best way to implement making a character move as if on a grid?
Everything already moves on a grid, it is called location all over bluperint nodes.
Thing is that its quite fine grid so you do not notice.
To understand grid stuff, make blueprint that creates floor grid out of box meshes. It seems that first you need to get idea how such grid should work, and best for it is making floor out of boxes.
Then make function that rounds up coordinates to the grid:
divide location by 100, cut out fraction, multiply back by 100. You have function that snaps to 100 grid.