Abstract
Include dynamic objects in intersection tests.
Include intangible objects in intersection tests.
Include static objects in intersection tests.
If non-empty, only perform collision with these colliders. In other words: the set of colliders to include when performing collision tests, excluding all others. If empty, this setting is disabled (effectively including all colliders, minus skipColliders).
If non-empty, only perform collision with colliders in these layers. In other words: the set of layers to include when performing collision tests, excluding all others. If empty, this setting is disabled (effectively including all layers, minus skipLayers).
Skip collision with these colliders. In other words: the set of colliders to exclude when performing collision tests. This takes precedence over onlyColliders, so a collider that is in both is skipped.
Skip collision with colliders in these layers. In other words: the set of layers to exclude when performing collision tests. This takes precedence over onlyLayers, so a layer that is in both is skipped.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Intersection filter settings. Unifies settings for world probes and collider overlap tests. See also: ColliderComponent, Physics.
Example