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 ) |
PoolVector2Array | get_simple_path ( Vector2 start, Vector2 end, bool optimize=null ) |
int | navpoly_create ( NavigationPolygon mesh, Transform2D xform, Object owner=null ) |
void | navpoly_remove ( int id ) |
void | navpoly_set_transform ( int id, Transform2D xform ) |
Member Function Description¶
- PoolVector2Array get_simple_path ( Vector2 start, Vector2 end, bool optimize=null )
- int navpoly_create ( NavigationPolygon mesh, Transform2D xform, Object owner=null )
- void navpoly_remove ( int id )
- void navpoly_set_transform ( int id, Transform2D xform )