GeneratorCircleShape2D
Inherits: QueryGenerator2D < Node2D
A query generator that generates a circle around each QueryContext2D.
Description
A query generator that generates a circle around each QueryContext2D.
Properties
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Property Descriptions
float arc_angle = 360.0 🔗
void set_arc_angle(value:
float)floatget_arc_angle()
Sets the angle of the arc in degrees.
int cast_collision_mask = 1 🔗
void set_cast_collision_mask(value:
int)intget_cast_collision_mask()
The physics layers the hotizontal casting scans
QueryContext2D circle_center 🔗
void set_circle_center(value: QueryContext2D)
QueryContext2D get_circle_center()
Reference QueryContext2D, where a circle will generate on each of these positions.
float circle_radius = 200.0 🔗
void set_circle_radius(value:
float)floatget_circle_radius()
Radius of the circle that expands from circle_center.
float space_between = 20.0 🔗
void set_space_between(value:
float)floatget_space_between()
The space between each point around the circle.
bool use_arc_direction = false 🔗
void set_use_arc_direction(value:
bool)boolget_use_arc_direction()
There is currently no description for this property. Please help us by contributing one!
bool use_casting = true 🔗
void set_use_casting(value:
bool)boolget_use_casting()
Cast rays or shapes outwards from each context and align the QueryItem2D on it. Useful for detecting walls.