Ray Perception Sensor 3D

If I check the pushblock example, the agent has a ray perception sensor component attached. Neverthless, I check the agent code, nothing of the sensor is added to the observations.
Can anyone explain me how this works?

Hello,
on the BehaviorParameters-Component you can check “Use Child Sensors”, this will automatically add the observations from the Ray Perceptions Sensors for you.

1 Like

Maybe i’m wrong, but “use child sensor” should refers to sensor you have attached to children of the agent gameobject.
The raycast sensor doesn’t need to be added to the observation in either case. If i remember well, it add inputs based on num of rays * num of tags, and does it automatically

1 Like