class_polygonpathfinder - dragonsoulz/godot GitHub Wiki
PolygonPathFinder
####Inherits: Resource ####Category: Core
Brief Description
Member Functions
- void setup ( Vector2Array points, IntArray connections )
- Vector2Array find_path ( Vector2 from, Vector2 to )
- Vector2Array get_intersections ( Vector2 from, Vector2 to ) const
- Vector2 get_closest_point ( Vector2 point ) const
- bool is_point_inside ( Vector2 point ) const
- void set_point_penalty ( int idx, float penalty )
- float get_point_penalty ( int idx ) const
- Rect2 get_bounds ( ) const