M
That's what I assumed. As such, determining which direction the player is facing would let you know where the player was, so you could make Brock use whichever walk routine he needed so that he didn't walk on top of the player.
If the player is facing up, that can only mean he is standing directly underneath Brock, so Brock would need to walk to the side and then down. So you would:
- check the player's facing
- if he is facing up, load the walk-over-then-down movement
- if he is facing any other direction, he is not directly underneath Brock, so load the walk-straight-down movement data.
If the player is facing up, that can only mean he is standing directly underneath Brock, so Brock would need to walk to the side and then down. So you would:
- check the player's facing
- if he is facing up, load the walk-over-then-down movement
- if he is facing any other direction, he is not directly underneath Brock, so load the walk-straight-down movement data.