TestIntersectsArea3D

Inherits: QueryTest3D < Node3D

A query test that checks if QueryContext3D is intersecting an area using Shape3D.

Description

A query test that checks if QueryContext3D is intersecting an area using Shape3D.

Properties

int

collision_mask

1

QueryContext3D

context

float

cost

0.98 (overrides QueryTest3D)

Shape3D

shape

TestIntersectsArea3D.ShapeCastMode

shape_cast_mode

0

TestType

test_type

1 (overrides QueryTest3D)


Property Descriptions

int collision_mask = 1 🔗

  • void set_collision_mask(value: int)

  • int get_collision_mask()

The physics layers this test scans.


QueryContext3D context 🔗

The context to be tested.


Shape3D shape 🔗

  • void set_shape(value: Shape3D)

  • Shape3D get_shape()

The actual shape that will be used in the PhysicsShapeQueryParameters3D.


TestIntersectsArea3D.ShapeCastMode shape_cast_mode = 0 🔗

  • void set_shape_cast_mode(value: TestIntersectsArea3D.ShapeCastMode)

  • TestIntersectsArea3D.ShapeCastMode get_shape_cast_mode()

What types of collision objects the test will scan.