RaycastFilterType

Overview

RaycastFilterType is an Enum that defines how the FilterDescendantsInstances list is used in the RaycastParams object.

It determines which objects are included or excluded when performing a Raycast.

Items

Name
Value
Description

Exclude

0

Ignores BaseParts that are children of the objects in the filter list.

Include

1

Considers only BaseParts that are children of the objects in the filter list.

See also

RaycastParamschevron-rightOverlapParamschevron-right

Last updated