@skyemaidstone wrote:
Hello,
This seemed like a simple problem at first and maybe it is but I can't think how to do it.
The problem I have is don't want my player to be able to walk up a surface that is above a certain steepness (this is a 3d game).
So my approach was:
Check the players height at the new desired position before moving.
Check the current height.
Compare the two and if the difference is above a threshold then the player cannot move forward in that direction.This works great if you face the slope but if you angle yourself away from the slope you can slowly walk your way up it.
What's the solution please?
Thanks guys
Posts: 2
Participants: 2