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

Trigger Component


This EntityComponent is a wrapper around a trigger.

The trigger itself is triggered by rigidbodies moving into its volume. You can add a callback, which will be fired when that happens, or you can have it store the collision data, so that you can pick it up and to whatever you want to do with it.

The volume of the trigger can be taken from a collision model, or a collision shape.

// TODO: finish

Programming in C++


#include <components/template.h>
API documentation page.

// TODO: finish

Scripting in Lua


Yes, working. Very working.