|Table of Contents|
The Color Detector is a component that can be used to detect a specific color with tolerance.
A Color Detector analysing three cubes for a Red color. The Output Signal returns High for the red cube, and low for the green and blue cubes
Where to find
The Color Detector Physical and Logic components can be found under Standard Components > Color Sensor > Color Detector.
A new GameObject will be created if you do not have a GameObject selected. Otherwise, the Color Detector will be added to the selected GameObject
Shows whether the Color Detector is currently active and thus whether it will detect a color
Shows whether or not the Color Detector is currently detecting the Reference Color
The percentage with which the detected color matches the Reference Color
Generate Control Panel for ColorDetector
Click this button to generate a Control Panel for the Color Detector
The Phyisical Color Detector component attached to this Logic component
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 Color Detector physical component to a GameObject, or create a new one directly from the menu
Select the desired settings under the Properties tab
In Play Mode, the Match Percentage of detected objects will be displayed, as well as the Output Signal