Hi, I currently have a problem when I add obstacles to the dtTileCache
(using addObstacle). Before I add the obstacle I increase the size of the
bounding volume by the size of the walkable radius, I do this because the
obstacles don’t erode the walkable area and I need to be able to navigate
around them. The problem comes if an obstacle is placed underneath a slope.
Without the obstacle the slope is normally navigable (it’s the right size
and below the max slope angle). However when I place an obstacle underneath
it I can no longer find a path up it, this is because I’ve increased the
size obstacle to allow for the walkable radius and it punches through the
slope.
\
\ slope
_____ \
Obstacle | | \
| | \
|_____| \
\
\
_______ \___
| \ | Increased size for walkable area
| \ |
|_________\|
Does anyone know if there is a way around this? It looks like I need the
obstacles to actually erode the walkable area so it takes into account
solid objects near by, but I’m not sure if this is possible or would take
up too much cpu time (the obstacle system seems to be pretty streamlined
and efficient).
Thanks for any help.