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 Problem Using Sensors in 2D Platformer Game

Discussion in 'ML-Agents' started by Propricen, May 22, 2023.

  1. Propricen

    Propricen

    Joined:
    Mar 4, 2022
    Posts:
    3
    I am trying to make a 2d platformer game and my agent needs to collect some gems and catch the player, i tried adding a grid sensor to my agent so it sees the gems and collects them but i couldn't figure out how to use the grid sensor and there are no guides anywhere, i can add code/screenshots if necessary, please help.
     
  2. Atilli

    Atilli

    Joined:
    Aug 31, 2022
    Posts:
    11