Jump to content
Posted 04 August 2012 - 04:37 AM
Posted 05 August 2012 - 03:56 PM
float slope = 1.0f - normal.y;and if the slope is close to 1.0f, then i mark this part of terrain as unwalkable, otherwise convert it to the node in pathfinding graph.
Edited by DgekGD, 05 August 2012 - 03:57 PM.