You’re gonna want to look at the Off-Mesh Links feature- they basically allow you to have your agent pathfind to the start of a location and then traverse the link as a part of their path. They support cases like jumping, doors, and ladders, of course There’s also an example scene in the asset that demonstrates this well.
Hello @tealtxgr
Actually I wan to let NPC auto (and random) go somewhere, for example, I have a building has 3 floors, the NPC can go anywhere in this building.
So, I added AIPath and Seeker component to NPC.
But in my game, ground to floor 1 is a ladder, and document said:
RichAI: Decent support for off-mesh links. Does not support using the Interactable component for movement logic on off-mesh links.
AIPath: Limited support for off-mesh links. The agent can traverse them, but it does not know that it traverses an off-mesh link, and cannot use any special movement logic.
AILerp: Limited support for off-mesh links. The agent can traverse them, but it does not know that it traverses an off-mesh link, and cannot use any special movement logic.
So, how to do this is a good way?
Thank you very much for your help, I’m really a fresh newbie.
BTW: Do I need send you my invoice number then get your help?
Unless you have a specific reason to use AIPath I recommend switching from AIPath to FollowerEntity If you have any issues with FollowerEntity we can help troubleshoot those
No problem, glad to help! No invoice number needed
Good luck! FollowerEntity and the others are a bit different, but it should definitely be possible to substitute the two. Let us know if you run into any specific issues