TestDistanceTo2D
Inherits: QueryTest2D < Node2D
A query test that checks the distance from QueryItem2D to a QueryContext2D.
Description
A query test that checks the distance from QueryItem2D to a QueryContext2D.
Properties
|
cost |
|
|
filter_max |
|
|
score_clamp_max |
|
Property Descriptions
QueryContext2D distance_to 🔗
void set_distance_to(value: QueryContext2D)
QueryContext2D get_distance_to()
What context the test will use for the checking the distance. If it's more than one location, then the results are averaged.