Also, I'm having problems with my pathfinding. Right now i'm using a raycast to see if the path to the goal is clear, but this slow down my game dramatically does anybody know a faster way to do pathfinding?
here's the link of a video of my game.
thanks.