Click or drag to resize

Destroying Sensor 2D

Sensor 2DManual / Base Types / 2D / Destroying Sensor 2DCharacter 2D Type

Destroying Sensor 2D

The sensor is intended to destroy detected objects in 2D space. Can be used to remove objects that have gone beyond the scene.

Screenshot999999999999219.png
Properties
Name Description
Source Data What kind of data is used as a source of events.
Shape The shape of the trigger.
Ray Target The target by which the sensor ray will trigger.
Mode The recognition mode of the sensor.
Filter By Type The type of objects that sensor will recognize.
Collision Categories The collision categories this fixture is a part of.
Collides With The collision mask bits. This states the categories that this fixture would accept for collision.
Collision Group Collision groups allow a certain group of objects to never collide or always collide. Zero means no collision group. Non-zero group filtering always wins against the mask bits.
Ignore Sensors Whether the sensor is ignoring other sensors.
When Update The update case mode of the sensor.
Display Color The display color of the sensor.
Display Objects Whether to draw gizmos on the objects recognized by the sensor.
Display Objects Color The color of the recognized object gizmos.
Objects List of objects recognized by the sensor.
See also
Sensor 2DCharacter 2D Type