Navigation
Inherits: Spatial < Node < Object
Category: Core
Brief Description
Member Functions
Vector3 | get_closest_point ( Vector3 to_point ) |
Vector3 | get_closest_point_normal ( Vector3 to_point ) |
Object | get_closest_point_owner ( Vector3 to_point ) |
Vector3 | get_closest_point_to_segment ( Vector3 start, Vector3 end, bool use_collision=false ) |
Vector3Array | get_simple_path ( Vector3 start, Vector3 end, bool optimize=true ) |
Vector3 | get_up_vector ( ) const |
int | navmesh_create ( NavigationMesh mesh, Transform xform, Object owner=NULL ) |
void | navmesh_remove ( int id ) |
void | navmesh_set_transform ( int id, Transform xform ) |
void | set_up_vector ( Vector3 up ) |
Member Function Description
Vector3 get_closest_point ( Vector3 to_point )
Vector3 get_closest_point_normal ( Vector3 to_point )
Object get_closest_point_owner ( Vector3 to_point )
Vector3 get_closest_point_to_segment ( Vector3 start, Vector3 end, bool use_collision=false )
Vector3Array get_simple_path ( Vector3 start, Vector3 end, bool optimize=true )
Vector3 get_up_vector ( ) const
int navmesh_create ( NavigationMesh mesh, Transform xform, Object owner=NULL )
void navmesh_remove ( int id )
void navmesh_set_transform ( int id, Transform xform )
void set_up_vector ( Vector3 up )
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_navigation.html