Beam divider - dvdvideo1234/LaserSTool GitHub Wiki

Description

This scripted entity is designed to divide a laser beam to pass-trough and reflected.

divider

Turning the entity ON / OFF

The entity will be turned on whenever the input beam hits it. If there is no beam present, this means the input beam is not in sync with the surface normal vector of the divider. If the vectors are in sync when the input beam hits the proper surface of the divider entity.

Calculating output beam

The output beam behavior and visuals ( texture, sounds, color, flags etc. ) will be taken from the beam source entity from the current hit report. The divider can process recursively many beams at the same time.

Wire behavior

This entity has only one input that is the normal local surface vector and some outputs for information.