Navigation2D¶
Inherits: Node2D < CanvasItem < Node < Object
Category: Core
Brief Description¶
Member Functions¶
Vector2 | get_closest_point ( Vector2 to_point ) |
Object | get_closest_point_owner ( Vector2 to_point ) |
Vector2Array | get_simple_path ( Vector2 start, Vector2 end, bool optimize=true ) |
int | navpoly_create ( NavigationPolygon mesh, Matrix32 xform, Object owner=NULL ) |
void | navpoly_remove ( int id ) |
void | navpoly_set_transform ( int id, Matrix32 xform ) |
Member Function Description¶
- Vector2Array get_simple_path ( Vector2 start, Vector2 end, bool optimize=true )
- int navpoly_create ( NavigationPolygon mesh, Matrix32 xform, Object owner=NULL )
- void navpoly_remove ( int id )