NavigationAgent2D
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
BitField<PathMetadataFlags> |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods
distance_to_target ( ) const |
|
get_avoidance_layer_value ( int layer_number ) const |
|
get_avoidance_mask_value ( int mask_number ) const |
|
get_current_navigation_path ( ) const |
|
get_current_navigation_path_index ( ) const |
|
get_current_navigation_result ( ) const |
|
get_navigation_layer_value ( int layer_number ) const |
|
get_navigation_map ( ) const |
|
get_rid ( ) const |
|
is_target_reached ( ) const |
|
void |
set_avoidance_layer_value ( int layer_number, bool value ) |
void |
set_avoidance_mask_value ( int mask_number, bool value ) |
void |
set_navigation_layer_value ( int layer_number, bool value ) |
void |
set_navigation_map ( RID navigation_map ) |
void |
set_velocity_forced ( Vector2 velocity ) |
Signals
link_reached ( Dictionary details )
There is currently no description for this signal. Please help us by contributing one!
navigation_finished ( )
There is currently no description for this signal. Please help us by contributing one!
path_changed ( )
There is currently no description for this signal. Please help us by contributing one!
target_reached ( )
There is currently no description for this signal. Please help us by contributing one!
velocity_computed ( Vector2 safe_velocity )
There is currently no description for this signal. Please help us by contributing one!
waypoint_reached ( Dictionary details )
There is currently no description for this signal. Please help us by contributing one!
Property Descriptions
bool avoidance_enabled = false
There is currently no description for this property. Please help us by contributing one!
int avoidance_layers = 1
There is currently no description for this property. Please help us by contributing one!
int avoidance_mask = 1
There is currently no description for this property. Please help us by contributing one!
float avoidance_priority = 1.0
There is currently no description for this property. Please help us by contributing one!
bool debug_enabled = false
There is currently no description for this property. Please help us by contributing one!
Color debug_path_custom_color = Color(1, 1, 1, 1)
There is currently no description for this property. Please help us by contributing one!
float debug_path_custom_line_width = -1.0
There is currently no description for this property. Please help us by contributing one!
float debug_path_custom_point_size = 4.0
There is currently no description for this property. Please help us by contributing one!
bool debug_use_custom = false
There is currently no description for this property. Please help us by contributing one!
int max_neighbors = 10
There is currently no description for this property. Please help us by contributing one!
float max_speed = 100.0
There is currently no description for this property. Please help us by contributing one!
int navigation_layers = 1
There is currently no description for this property. Please help us by contributing one!
float neighbor_distance = 500.0
There is currently no description for this property. Please help us by contributing one!
float path_desired_distance = 20.0
There is currently no description for this property. Please help us by contributing one!
float path_max_distance = 100.0
There is currently no description for this property. Please help us by contributing one!
BitField<PathMetadataFlags> path_metadata_flags = 7
void set_path_metadata_flags ( BitField<PathMetadataFlags> value )
BitField<PathMetadataFlags> get_path_metadata_flags ( )
There is currently no description for this property. Please help us by contributing one!
PathPostProcessing path_postprocessing = 0
void set_path_postprocessing ( PathPostProcessing value )
PathPostProcessing get_path_postprocessing ( )
There is currently no description for this property. Please help us by contributing one!
PathfindingAlgorithm pathfinding_algorithm = 0
void set_pathfinding_algorithm ( PathfindingAlgorithm value )
PathfindingAlgorithm get_pathfinding_algorithm ( )
There is currently no description for this property. Please help us by contributing one!
float radius = 10.0
There is currently no description for this property. Please help us by contributing one!
float simplify_epsilon = 0.0
There is currently no description for this property. Please help us by contributing one!
bool simplify_path = false
There is currently no description for this property. Please help us by contributing one!
float target_desired_distance = 10.0
There is currently no description for this property. Please help us by contributing one!
Vector2 target_position = Vector2(0, 0)
There is currently no description for this property. Please help us by contributing one!
float time_horizon_agents = 1.0
There is currently no description for this property. Please help us by contributing one!
float time_horizon_obstacles = 0.0
There is currently no description for this property. Please help us by contributing one!
Vector2 velocity = Vector2(0, 0)
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
float distance_to_target ( ) const
There is currently no description for this method. Please help us by contributing one!
bool get_avoidance_layer_value ( int layer_number ) const
There is currently no description for this method. Please help us by contributing one!
bool get_avoidance_mask_value ( int mask_number ) const
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array get_current_navigation_path ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_current_navigation_path_index ( ) const
There is currently no description for this method. Please help us by contributing one!
NavigationPathQueryResult2D get_current_navigation_result ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_final_position ( )
There is currently no description for this method. Please help us by contributing one!
bool get_navigation_layer_value ( int layer_number ) const
There is currently no description for this method. Please help us by contributing one!
RID get_navigation_map ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_next_path_position ( )
There is currently no description for this method. Please help us by contributing one!
RID get_rid ( ) const
There is currently no description for this method. Please help us by contributing one!
bool is_navigation_finished ( )
There is currently no description for this method. Please help us by contributing one!
bool is_target_reachable ( )
There is currently no description for this method. Please help us by contributing one!
bool is_target_reached ( ) const
There is currently no description for this method. Please help us by contributing one!
void set_avoidance_layer_value ( int layer_number, bool value )
There is currently no description for this method. Please help us by contributing one!
void set_avoidance_mask_value ( int mask_number, bool value )
There is currently no description for this method. Please help us by contributing one!
void set_navigation_layer_value ( int layer_number, bool value )
There is currently no description for this method. Please help us by contributing one!
void set_navigation_map ( RID navigation_map )
There is currently no description for this method. Please help us by contributing one!
void set_velocity_forced ( Vector2 velocity )
There is currently no description for this method. Please help us by contributing one!