mbaske / grid-sensor

Grid Sensor Components for Unity ML-Agents
MIT License
134 stars 28 forks source link

2D Grid Sensor for XY axis #13

Closed SandaruwanFdo closed 2 years ago

SandaruwanFdo commented 2 years ago

image

How to set 2D grid sensor for XY axis?

mbaske commented 2 years ago

Hi, you can try rotating your agent gameobject by 90 degrees and set the sensor Rotation Type to Agent XYZ.

SandaruwanFdo commented 2 years ago

Got it. Thank you