Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Ray Sensor Observation

Discussion in 'ML-Agents' started by zapper5312, Nov 16, 2021.

  1. zapper5312

    zapper5312

    Joined:
    Aug 5, 2021
    Posts:
    5
    Hi guys,

    Sorry for the dumb question, I just want to ask how does the ray sensor works in UnityML, what observation will they return if they did not detect the element(object). Do the observation becomes empty or is there a default value that will be set like 0 or 1?

    Thank you!
     
  2. gft-ai

    gft-ai

    Joined:
    Jan 12, 2021
    Posts:
    44