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
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 )
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_navigation2d.html