• Register
Post news RSS AI pathfinding update

A video of the improvements I've made to Luminesca's AI pathfinding, to address problems some people reported.

Posted by on

A lot of players have reported problems with the pathfinding of the creatures in Luminesca (I call them planktids, but you can call them jellyfish, squid, glowing blobs, whatever you like).

In the current public build, they just swim towards you in a straight line. If there is an obstacle such as a rock in the way they will just bump into it and keep trying to push straight through. Obviously, most rocks are static, so they don't get very far and players have to keep backtracking to allow a clear line of sight for them to catch up.

The next build update (0.1.4) will include improvements to their navigational skills which should prevent problems like these. Planktids will now remember the route you took and use it to follow you, even over long distances and through complex, winding pathways.

Check out the video below to see this in action.

When this is released, as with all updates, it will be available automatically and at no extra cost to anyone who has pre-ordered the game. Purchase Luminesca on Desura to try it right away!


I thought that was intentional to make the player care about, or focus on both the world and herding the planktii/planktids at the same time.

"Here little buddy! This is the way."

It didn't take long to get used to it either in the alpha.

Reply Good karma Bad karma+3 votes
CrowbarSka Author

I do want to achieve that effect to a certain extent, but I think it was just a little too close to being frustrating for people who didn't really understand how their pathfinding was working.

Later parts of the game will still include that element of leading them around, but I'd like to make it challenging in more interesting ways than just fighting with the AI's navigation!

Reply Good karma+1 vote

What if the player does a bunch of loops or dips in and out of crevasses while the creature slowly follows; will the creature need to travel the whole path or does it find the closest point on the path and use that, skipping all the stuff that came before? Also, was there any reason not to implement a more traditional path finding using navmesh?

Reply Good karma Bad karma+2 votes
CrowbarSka Author

In the version used in the video they would have just copied your path exactly, but I'm working on it at this very moment!

If they ever gain a clear line of sight to you, they'll break off their path and just go directly towards you. If you break line of sight they'll revert back to pathfinding.

Nav meshes are a Unity Pro feature. Unfortunately, I'm only using the free version, so I've had to implement my own system!

Reply Good karma+2 votes

Interesting solution!

Reply Good karma Bad karma+1 vote
CrowbarSka Author

Thanks :D

The new version is now live on Desura so you can check it out and let me know what you think! It's still not perfect I must admit, as raycasting proved to be too expensive to do too often. This leads to some interesting problems which you might notice, but eventually the planktids should be able find their way back to you.

Reply Good karma+2 votes
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Trailer, Update
Post news
Related Games
Luminesca Adventure
Related Engines
Unity Commercial