Hi there,
I'm working on a project and I have had multiple frustrating experiences while getting my pathfinding to work correctly. I hope someone can push me in the right direction.
My situation:
- I have a world which is completely flat, made with the help of Rotorz (2d pathfinding might be an option?).
- I have a building system where I can build walls, doors, refridgerators, beds, etc etc (dynamic world).
- I have 1 player character which you can move around using point and click.
- I have multiple friendly characters (up to 9) who are AI driven, who can decide by themself wether they will wander, sleep, attack, build or whatever.
- There will be spawns of enemy's (up to 10 at a time) who will attack you.
- There will be spawns of neutral characters (up to 10 at a time), who will interact in different ways.
My problems getting a pathfinding system:
I had set up a good system using unity navmesh, but then when I went on with the runtime building system, it slowed down to an unplayable framerate because of the dynamic obstacles. (I made all the walls, doors, beds, etc dynamic obstacles, maybe there is another way?)
I then moved to Apex path, which actually worked really fast. But then I got problems because the gridsquares had to be bigger then my characters, and by doing so the characters couldn't get close enough to objects like walls. Also it did not work as my characters are not all the same size (some are bigger than the doors).
I'm not sure I should post this at the playmaker forum as it might not be a playmaker question. However, I don't know how to program without playmaker so the solution I'm looking for has to be playmaker related. Also, the playmaker forum is very alive and helpfull, so I think this is my best shot of getting a solution.
Thanks in advance & best regards,
Mitchel