Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Grid Sensor for x and y axis

Discussion in 'ML-Agents' started by comnGuy, May 28, 2022.

  1. comnGuy

    comnGuy

    Joined:
    Oct 9, 2019
    Posts:
    1
    Hi Together,

    Me and friends are currently building a small game and trying out ML Agents. Unfortunately we would like to change the grid area from the x/z axis to x/y axis. At least for me it seems like there is no low hanging fruit solution to change that, or?
    I found a custom solution like this https://forum.unity.com/threads/custom-unity2d-grid-sensor.1108643/. I tried to implement this in a similar way, but there are a lot of imports missing. Anyhow this seems not the correct way.

    Do you have any ideas?

    MLAgents 2.0.1
    Unity 2022

    If you need more information, please tell me. :)

    Best Regards
     

    Attached Files: