Table of Contents

Property IsSensor

Namespace
Box3D
Assembly
Box3D.NET.dll

IsSensor

Gets a value indicating whether this shape reports overlaps instead of colliding.

public bool IsSensor { get; init; }

Property Value

bool

Remarks

A sensor generates no collision response but still contributes mass if its density is non-zero, so a trigger volume normally wants a density of zero. Sensors have no continuous collision; use a cast for a fast-moving trigger.