Trigger Rails
Overview
The Rails Trigger allows you to enable or disable the Rails extension dynamically. This way your can, for example, give your camera some freedom during an action scene and bring it back to the tracks afterwards. Experiment and see how can it fit your needs!
Editor
Parameters:
Update Interval
(>0): For performance reasons the trigger collision is only tested at a fixed interval. This value represents that interval. Adjust it to fit your needsTrigger Shape
: Either a circle or a rectangle. You can scale it like you do any other GameObjectUse Targets Mid Point
: If enabled, the trigger will use the camera targets mid point to know when to activate. If disabled, you can pass it a GameObject reference that the trigger will use insteadMode
: Choose if you want this trigger to enable or disable the railsTransition Duration
: The time it should take to transition from/to rails