Skip to content

RectCollisionTestingSetup

Area2D setup for collision shape testing with rectangle shapes.

const TRANSPARENCY_LEVEL = Color(1,1,1,0.1)
shape_owner: Node2D
shapes: Array[Shape2D]
area_2d: Area2D

Testing area

collision_shape: CollisionShape2D
rect_shape: RectangleShape2D

Testing rect shape

test_area_name = “IndicatorSetupTestingArea”
free_nodes( )
validate( ) -> Array[String]
toggle_debug( p_show: bool )

addons/grid_building/placement/rule_check_indicator/rect_collision_testing_setup.gd


This page was auto-generated from GDScript source. Edit the source file to improve documentation.

Generated on 2025-09-07