Artificial Intelligence
Older/Work In Progress Page
- This page was initially written for an older version of Helix, has not been updated, and may be out of date!
- Contributions are more than welcome (see buttons at the top right of the page).
How AI works in HELIX
Warning
🚧 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 HELIX, 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.