A* Pathfinding Project

Pathfinding On Top of Obstacle


#1

Hello!

First off – I’m enjoying learning this package – thanks for the hard work!

My question revolves around getting valid pathfinding on top of an obstacle. I have a couple pieces of furniture shown below (a couch and coffee table). I want my AI to not pass through the furniture BUT be able to get on top by jumping. My plan is to use NodeLinks for the jumps.

My problem is that I can’t find a way for nodes to be created on top of the furniture when they are set as obstacles. I looked at this post:


which sounded like exactly what I wanted. But I set the collision testing offset to the appropriate value and that did not create any pathfinding on top of the obstacle.

Here are my settings:

Any help is greatly appreciated.

Thanks!


#2

I think I figured it out. I did not have my Obstacles set as part of the Height Testing mask.