AStar

Inherits: Reference < Object

Category: Core

Brief Description

Member Functions

void add_point ( int id, Vector3 pos, float weight_scale=1 )
bool are_points_connected ( int id, int to_id ) const
void clear ( )
void connect_points ( int id, int to_id )
void disconnect_points ( int id, int to_id )
int get_available_point_id ( ) const
int get_closest_point ( Vector3 to_pos ) const
Vector3 get_closest_pos_in_segment ( Vector3 to_pos ) const
IntArray get_id_path ( int from_id, int to_id )
Vector3Array get_point_path ( int from_id, int to_id )
Vector3 get_point_pos ( int id ) const
float get_point_weight_scale ( int id ) const
void remove_point ( int id )

Member Function Description

  • bool are_points_connected ( int id, int to_id ) const
  • void clear ( )
  • void connect_points ( int id, int to_id )
  • void disconnect_points ( int id, int to_id )
  • int get_available_point_id ( ) const
  • float get_point_weight_scale ( int id ) const
  • void remove_point ( int id )