Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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.