Today I went back to the ghost to see if I could get it to wonder about a certain area by following a point that is randomly generated every few seconds. I used a raycast to make sure this point is always above the ground. If I can combine this code with the code that causes the ghost to follow the player around but perhaps tweak the code so the ghost only starts to follow the player when the player gets too close then I could try to implement some kind of combat system that lets the ghost throw some spells around like I let the player do in an earlier session. I then added doors to all of the other buildings in the village and gave the buildings mesh colliders. I then went to the camp in the ruins in the forest and gave everything there mesh colliders as well, so the player can’t simply walk through them like a ghost.
Comments are closed.