Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

PolygonPathFinder

Inherits: Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Methods

PackedVector2Array

find_path ( Vector2 from, Vector2 to )

Rect2

get_bounds ( ) const

Vector2

get_closest_point ( Vector2 point ) const

PackedVector2Array

get_intersections ( Vector2 from, Vector2 to ) const

float

get_point_penalty ( int idx ) const

bool

is_point_inside ( Vector2 point ) const

void

set_point_penalty ( int idx, float penalty )

void

setup ( PackedVector2Array points, PackedInt32Array connections )


Method Descriptions

PackedVector2Array find_path ( Vector2 from, Vector2 to )

There is currently no description for this method. Please help us by contributing one!