Shape:setSensor
Sets whether this Shape is a sensor. Sensors do not trigger any collision response, but they still report collisions in World:collide
.
Shape:setSensor(sensor)
Arguments
Name | Type | Description |
sensor | boolean | Whether the Shape should be a sensor. |
Returns
Nothing
See also
Shape:isSensor
Shape