Up to date

This page is up to date for Redot 4.3. If you still find outdated information, please create 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(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 one!


Rect2 get_bounds() const πŸ”—

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


Vector2 get_closest_point(point: Vector2) const πŸ”—

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


PackedVector2Array get_intersections(from: Vector2, to: Vector2) const πŸ”—

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


float get_point_penalty(idx: int) const πŸ”—

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


bool is_point_inside(point: Vector2) const πŸ”—

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


void set_point_penalty(idx: int, penalty: float) πŸ”—

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


void setup(points: PackedVector2Array, connections: PackedInt32Array) πŸ”—

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