Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    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