run some sort of collsion check before moving, since you cube has a static size you could probably do a line trace in the direction you want to move, just remember to ignore self
run some sort of collsion check before moving, since you cube has a static size you could probably do a line trace in the direction you want to move, just remember to ignore self