Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

ECS magic step-by-step or "how to learn your animals move in world":

1. Rename ShipAiManager to AiPatrolManager

2. Create AiPatrolComponent for your animal entity (in my case it is on scene loader stage)

3. Profit! Space-Creatures moves by own business in space...

4. PS: do not forget to review usage of AiPatrolSystem when add attack action into patrol action :) or animals will attack player