Hi Guys,
I'm creating a scuba diving type game and all is going well but I have two problems. Take a look at this image.

The first problem that I have is that I want the diver not to go over the 'black rocks'. I've created a walkable area around the rock

But I don't want any part of the diver going over the rock.
The second problem is that when going up or down, how to I turn the diver to face either left or right where the player clicked? At the moment the diver faces one way going up and one way going down so sometimes he can go backwards, which I don't want.
Any help would be appreciated.
I'm creating a scuba diving type game and all is going well but I have two problems. Take a look at this image.

The first problem that I have is that I want the diver not to go over the 'black rocks'. I've created a walkable area around the rock

But I don't want any part of the diver going over the rock.
The second problem is that when going up or down, how to I turn the diver to face either left or right where the player clicked? At the moment the diver faces one way going up and one way going down so sometimes he can go backwards, which I don't want.
Any help would be appreciated.
