AStar¶
Category: Core
Brief Description¶
Member Functions¶
void |
_compute_cost ( int from_id, int to_id ) virtual |
void |
_estimate_cost ( int from_id, int to_id ) virtual |
void |
|
are_points_connected ( int id, int to_id ) const |
|
void |
clear ( ) |
void |
connect_points ( int id, int to_id, bool bidirectional=true ) |
void |
disconnect_points ( int id, int to_id ) |
get_available_point_id ( ) const |
|
get_closest_point ( Vector3 to_pos ) const |
|
get_closest_pos_in_segment ( Vector3 to_pos ) const |
|
get_id_path ( int from_id, int to_id ) |
|
get_point_path ( int from_id, int to_id ) |
|
get_point_pos ( int id ) const |
|
get_point_weight_scale ( int id ) const |
|
void |
remove_point ( int id ) |
Member Function Description¶
Add a new point at the given position. The weight_scale has to be 1 or larger.
void clear ( )
int get_available_point_id ( ) const
Vector3Array get_point_path ( int from_id, int to_id )
void remove_point ( int id )