Skip to main content

Module sensor

Module sensor 

Source
Expand description

Port of box3d-cpp-reference/src/sensor.c + sensor.h.

SPDX-FileCopyrightText: 2025 Erin Catto SPDX-License-Identifier: MIT

Structs§

Sensor
Sensors are shapes that live in the broad-phase but never have contacts. (b3Sensor)
SensorHit
Used to track shapes that hit sensors using time of impact. (b3SensorHit)
SensorTaskContext
(b3SensorTaskContext)
Visitor
(b3Visitor)

Functions§

destroy_sensor
Flush pending end events and remove a sensor from the dense array. (b3DestroySensor)
overlap_sensors
Query all sensors for overlaps and emit begin/end events. (b3OverlapSensors)