![]() |
Nano Brain for Unity v0.1
|
A non-directional sensor.
The sensor has a field of view, but the signal returned does not include a direction
Public Attributes | |
| float | sensorRange = 10f |
| Maximum distance the sensor detects anything. | |
| float | sampleInterval = 0.1f |
| LayerMask | senseLayer |
| Unity Layer for the light objects. | |
| float | _output |
| Neuron | sensoryNeuron |
Protected Member Functions | |
| virtual void | Awake () |
| virtual float | SampleSensor () |
Protected Attributes | |
| Vehicle | vehicle |
| Cluster | brain |
Properties | |
| float | output [get] |
| Output value of the sensor. | |
| LayerMask senseLayer |
Unity Layer for the light objects.
This is used to improve performance