Tiled City Builder AiAgent3D Class

Inherits: CharacterBody3D

Inherited by:

Description

Controls the ai agents that populate the city.

Vector3end_positionVector3(0.0, 0.0, 0.0)
intindex0
floatmin_distance0.05
boolmovefalse
Array[Vector3]path_to_go[]
floatspeed0.5
voidstart_agent(path: Array[Vector3])
void_physics_proccess(delta: float)
voidwalk_the_path(_delta: float)

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

More posts