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

Question Direct access to the RayPerceptionSensor info?

Discussion in 'ML-Agents' started by RankNFyle, Apr 28, 2021.

  1. RankNFyle

    RankNFyle

    Joined:
    Jan 4, 2021
    Posts:
    31
    I know that observations from a Ray Perception Sensor (RPS) attached to an agent are automatically collected. But what if I want direct access to this sensor info? Is there a function whose code I can see and (possibly) override? If it's possible, would it be done in a C# script attached to the agent or to the RPS component itself? (the case is 2D, if it matters)
     
  2. RankNFyle

    RankNFyle

    Joined:
    Jan 4, 2021
    Posts:
    31
    Bump. Not possible, I take it?
     
  3. LexVolkov

    LexVolkov

    Joined:
    Sep 14, 2014
    Posts:
    62
  4. RankNFyle

    RankNFyle

    Joined:
    Jan 4, 2021
    Posts:
    31
    Thanks for the link.