Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Does an agent understand location of tagged objects when using Ray Percept Sensor 3D

Discussion in 'ML-Agents' started by Speo11, May 7, 2024.

  1. Speo11

    Speo11

    Joined:
    Mar 5, 2024
    Posts:
    1
    I have an environment that has two types of walls. Walls tagged "GoodWall" that give positive rewards when hit and walls tagged "BadWall" that give negative rewards, my question is when using ray sensor 3D if im correct the rays give the agent the tag on an object, but is there something else I need to pass in observations for the agent to learn to move towards goodwalls and avoid badwalls? Cause right now even when the rays hit the objects tagged good walls multiple times it still does not move towards it
     
  2. smallg2023

    smallg2023

    Joined:
    Sep 2, 2018
    Posts:
    154