Skip to main content
Version: latest - a1.70.x ⚖️

Künstliche Intelligenz

Wie KI in Nanos funktioniert

caution

🚧 Diese Seite befindet sich im Aufbau.

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.

Um den Weg für NPCs zu bestimmen, muss die Karte NavMesh konfiguriert sein.