SensorBeginTouchEvent

data class SensorBeginTouchEvent(val sensorShape: Shape, val visitorShape: Shape)

Event generated when a shape begins overlapping a sensor.

Sensors are shapes with isSensor = true that detect overlaps without generating collision responses.

Parameters

sensorShape

The sensor shape that was triggered

visitorShape

The shape that entered the sensor area

Constructors

Link copied to clipboard
constructor(sensorShape: Shape, visitorShape: Shape)

Properties

Link copied to clipboard
Link copied to clipboard