Contents

sensor

A collision filter for an entity that collides with everything.

Declaration

static let sensor: CollisionFilter

Discussion

The sensor collision filter is typically used by rays in ray casts, shapes in convex shape casts, and trigger volumes. It corresponds to a group and mask both set to all.

See Also

Creating a collision filter