Skip to main content
Version: latest - a1.0.0 βš–οΈ

Artificial Intelligence

How AI works in nanos world

caution

🚧 This page is under construction.

Every Character spawned without a Player possessing it will automatically be possessed by an AI Controller. Which means you can use Character methods such as :MoveTo() and :LookAt().

In nanos world, AI as well as Physics are things distributed through Clients to be calculated and shared with the other Players (please refer to Network Authority), which means the AI will only work if there is a Player connected to the server.

info

If you input a NPC to :MoveTo() somewhere and there is no Player connected, he will only start walking once a Player joins the server.

Navigation Mesh#

In order to NPCs to figure out the path to walk, the map will need to have a NavMesh configured.