For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

TraceGroupName

string

Filters the query to only include parts whose TraceGroupName property exactly matches this value (case-sensitive); parts with a different group name are excluded from the result. Leave this empty (the default) to disable group filtering and consider all parts regardless of their TraceGroupName.

Code Samples

TraceIntoSubComponents

boolean

Sets whether to trace into sub-components.

Code Samples

Methods

Events

Last updated