Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »



Overview

The Beam Receiver is a component that can detect an optical (laser) beam emitted by a Beam Emitter.

A Beam Emitter projecting its beam onto a Beam Receiver (left) and a Beam Reflector (right).


Where to find

The Beam Receiver Physical and Logic components can be found under Standard Components > Beam Sensor > Receiver.

It can be accessed from the GameObject menu as well as from the Hierarchy Context menu.

A new GameObject will be created if you do not have a GameObject selected. Otherwise, the Beam Receiver will be added to the selected GameObject.


Feature layout

Physical Component

Live Data

State

Shows whether the Beam Receiver is currently active and thus whether it will detect a beam.

Output Signal

Shows whether the Beam Receiver currently detects a beam or not.

Properties

On Signal High

A UnityEvent that is fired as soon as the Output Signal of the Beam Receiver is set to “High”.

On Signal Low

A UnityEvent that is fired as soon as the Output Signal of the Beam Receiver is set to “Low”.

Control Panel

Generate Control Panel for BeamEmitter

Click this button to generate a Control Panel for the Beam Receiver.


Logic Component

Properties

Beam Receiver

The Phyisical Beam Receiver component attached to this Logic component.

PLC I/O

In the PLC I/O panel you can see the latest input and output values from the PLC.

PLC settings and Debugging

These settings are general Logic Component settings.


How to use

  1. Assign a Beam Receiver physical component to a GameObject, or create a new one directly from the menu.

  2. Create the desired signal events under the Properties tab.

  3. In order to detect a beam, a Beam Emitter must also be created.

  4. Direct the beam from the Beam Emitter at the Beam Receiver.

  5. Objects with a Collider will interrupt the beam, changing the signal value of the Beam Receiver.

  • No labels