V2020.1.56.3_ Receiver
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 or 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
Assign a Beam Receiver physical component to a GameObject, or create a new one directly from the menu
Create the desired signal events under the Properties tab
In order to detect a beam, a Beam Emitter must also be created
Direct the beam from the Beam Emitter at the Beam Receiver
Objects with a Collider will interrupt the beam, changing the signal value of the Beam Receiver
Prespective Documentation