Skip to content

SensorActor ​

Class

Source: SensorActor.h

Inherits from: StaticActor

Description ​

A static body that acts as a trigger: detects overlap but produces no physical response.

Use for collectibles, checkpoints, damage zones, or any area that should fire onCollision() without pushing or blocking the other body.

Inheritance ​

StaticActor → SensorActor

Methods ​

void draw(pixelroot32::graphics::Renderer& renderer) ​

Released under the MIT License.