How to have pathfinding NPC use jetpack

I’m looking to incorporate a jetpack into my NPCs that use pathfinding, however I’m not sure where to start. The way it should work is: if object is above jumping distance → check if jetpack has enough fuel → fly up to object. The NPC should also be able to move in certain directions while flying with the jetpack. (The jetpack only gives up and down motion, NPCs will have to move in the direction they need to go.) How would I even start to try to implement this into my pathfinding script? I’m not looking for a full script ofc, just any ideas on where to start.

2 Likes

Try getting into behaviortree since your idea following a tree it could be easier to use this module.

1 Like