Table of Contents

Class RectCollisionTestingSetup

Namespace
GridPlacement.GDScript
Assembly
MoonBark.GridPlacement.GDScript.dll

Area2D setup for collision shape testing with rectangle shapes.

class RectCollisionTestingSetup extends RefCounted
RectCollisionTestingSetup

Fields

TRANSPARENCY_LEVEL

const TRANSPARENCY_LEVEL = Color(1,1,1,0.1)

Properties

shape_owner

var shape_owner: Node2D

shapes

var shapes: Array[Shape2D]

area_2d

Testing area

var area_2d: Area2D

collision_shape

var collision_shape: CollisionShape2D

rect_shape

var rect_shape = RectangleShape2D.new()

test_area_name

var test_area_name = "IndicatorSetupTestingArea"

rect_shape

var rect_shape = RectangleShape2D.new()

issues

var issues: Array[String] = []

Methods

free_nodes

func free_nodes():

validate

func validate() -> Array[String]:

Returns

toggle_debug

func toggle_debug(p_show : bool):

Parameters

p_show