I am working on my collision system right now and I wondered how you can actually walk on a mesh. For example I'm thinking about a dynamically created little village and I want to be able to move the player across roofs etc.
I read about two different approaches to that problem.
- Simulate the next step and test if the step can be performed. If it's all right, perform that step or abort otherwise
- Perform the step and let the collision system handle a collision in the next frame.
Now, with regards to speed and accuracy, which one is better suited for my problem. As a sidenote: the player should also be able to climb stairs and I also want to prevent the player from moving on very steep parts of the model.