Open TheEnderek0 opened 2 years ago
Could probably turn this into a generic trigger_beam
, which can detect lasers, bridges, funnels...maybe even paint blobs? It'd have flags to select which things it detects, like normal triggers.
This could also be added as a filter entity (e.g. filter_beam
), which would make it possible to be used with trigger_once
and trigger_multiple
.
Potential duplicate of #42, but the description here is clearer but not as broad.
Which component should be improved?
Entity
Describe your suggestion
trigger_laser - a trigger that detects if a laser is running through it. It would be useful for custom catchers, emitters and much more.
It would have a color filter, that would cause it to only activate when a specific colored laser is present.
Optionally it could modify the passing laser, for example it's color, lethality, collision.
Expected result
trigger_laser would detect if a laser is running through it, similar to point_laser_target. It would have several outputs like other triggers:
OnStartTouch - activates when laser touches OnEndTouch - activates when laser no longer is in the trigger OnEndTouchAll - ^ but for all lasers