• Tiled City builder Astar3DPath Class

    Inherits: Astar3D

    Inherited by:

    Description

    An implementation of A* for finding the shortest path between two vertices on a connected graph in 3D space.

    PointType

    NONE.PointType

    PASSING.PointType

    DEPART.PointType

    Dictionary(int, PointType)_type
    voidset_point_type(id: int, type: PointType)
    void_remove_point_typephysics_proccess(id: int)
    PointTypeget_point_type(id: int)
  • 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)