Latest version:
Tramway SDK 0.0.9
Github
Quick links
Home
Get Started

Trigger


This entity can be used to detect collisions with other entities.

Fields


Flags | UInt32

Bitmask, see flags section.

Collision Mask | UInt32

The collision mask of the trigger.

Model | Name

Name of the collision model that the trigger will use.

Flags


1 | TRIGGER_DISABLED

This will disable the trigger from being triggered.

Messages


Lock | LOCK

Disables the trigger.

Unlock | UNLOCK

Enables the trigger.

Signals


Activate | ACTIVATE

Fired when an entity collides with the trigger volume.