Ir para o conteúdo principal
Version: bleeding-edge 🩸

Inteligência Artificial

Como IA funciona no mundo do nanos

caution

🚧 Esta página está em construção.

Every Character or CharacterSimple 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 :IsValid() somewhere and there is no Player connected, he will only start walking once a Player joins the server.

Para conseguir NPCs para descobrir o caminho para andar, o mapa precisará ter um NavMesh configurado.