GeneratorGridShape3D
Inherits: QueryGenerator3D < Node3D
A query generator that generates a horizontal grid around each QueryContext3D.
Description
A query generator that generates a horizontal grid around each QueryContext3D.
Properties
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
Property Descriptions
QueryContext3D generate_around 🔗
void set_generate_around(value: QueryContext3D)
QueryContext3D get_generate_around()
Reference QueryContext3D, where a grid will generate on each of these positions.
float grid_half_size = 20.0 🔗
void set_grid_half_size(value:
float)floatget_grid_half_size()
The half the size of the grid, similar to radius.
float post_projection_vertical_offset = 0.5 🔗
void set_post_projection_vertical_offset(value:
float)floatget_post_projection_vertical_offset()
Offset the position of the QueryItem3D vertically by this amount after projecting it. Useful to avoid accidental collisions when doing visibility tests.
float project_down = 100.0 🔗
void set_project_down(value:
float)floatget_project_down()
Height where the raycast search will end.
float project_up = 100.0 🔗
void set_project_up(value:
float)floatget_project_up()
Height where the raycast search will start.
int projection_collision_mask = 1 🔗
void set_projection_collision_mask(value:
int)intget_projection_collision_mask()
The physics layers this projection scans.
Shape3D shape 🔗
void set_shape(value:
Shape3D)Shape3Dget_shape()
Shape of the projection.
float space_between = 5.0 🔗
void set_space_between(value:
float)floatget_space_between()
The space between each point in the grid.
bool use_shape_cast = false 🔗
void set_use_shape_cast(value:
bool)boolget_use_shape_cast()
Use a Shape3D instead of a raycast.
bool use_vertical_projection = true 🔗
void set_use_vertical_projection(value:
bool)boolget_use_vertical_projection()
If true, casts ray onto the ground to position the QueryItem3Ds.