Skip to content

PolygonPathFinder ​

Inherits: Resource < RefCounted < Object

There is currently no description for this class. Please help us by Contributing to the class reference!

Methods

PackedVector2Array

find_path(from: Vector2, to: Vector2)

Rect2

get_bounds() const

Vector2

get_closest_point(point: Vector2) const

PackedVector2Array

get_intersections(from: Vector2, to: Vector2) const

float

get_point_penalty(idx: int) const

bool

is_point_inside(point: Vector2) const

void

set_point_penalty(idx: int, penalty: float)

void

setup(points: PackedVector2Array, connections: PackedInt32Array)


Method Descriptions

PackedVector2Array find_path(from: Vector2, to: Vector2) 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!


Rect2 get_bounds() const 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!


Vector2 get_closest_point(point: Vector2) const 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!


PackedVector2Array get_intersections(from: Vector2, to: Vector2) const 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!


float get_point_penalty(idx: int) const 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!


bool is_point_inside(point: Vector2) const 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!


void set_point_penalty(idx: int, penalty: float) 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!


void setup(points: PackedVector2Array, connections: PackedInt32Array) 🔗

There is currently no description for this method. Please help us by Contributing to the class reference!