Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Help Wanted Direct access to the RayPerceptionSensor info?

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

  1. RankNFyle

    RankNFyle

    Joined:
    Jan 4, 2021
    Posts:
    12
    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:
    12
    Bump. Not possible, I take it?
     
  3. LexVolkov

    LexVolkov

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

    RankNFyle

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