CollisionQueryParams

Overview

CollisionQueryParams is a configuration object that defines the various conditions and filters to be applied when executing a collision query.

Constructors

new

Creates a new CollisionQueryParams instance.

Parameters

Return

CollisionQueryParams

The created CollisionQueryParams.

Code Samples

Properties

FindInitialOverlaps

boolean

Sets whether objects that are already overlapping at the start of the raycast should also be included in the results.

Code Samples

IgnoreBlocks

boolean

Sets whether to ignore blocking collision objects.

Code Samples

IgnoreTouches

boolean

Sets whether to ignore touch (overlap) collision objects.

Code Samples

SkipNarrowPhase

boolean

Sets whether to skip the narrow phase collision check.

Code Samples

TraceComplex

boolean

Sets whether to perform a precise raycast using complex collision meshes.

Code Samples

TraceIntoSubComponents

boolean

Sets whether to trace into sub-components.

Code Samples

Methods

Events

Last updated