I've made a start at something with the rat just moving up and then rotate to go other which once it's rotates around -90 degree's it's stop working for some reason. we do not know how making AI work because our teacher set us a task without really teaching us anything about AI programming expecting us to finish by wednesday which we rlly need some knowledge how to make a simple grid pathfinding where the rat will know it's current grid position and will have to find a way to get to the cheese (without knowing where the cheese is) i tried explaining to my teacher if we need any sensors which he refused to have sensors so the only possible way to do this is trying to get current grid positions and find some sort of way to store current grid position.
#I need help with a unity2d project
1 messages · Page 1 of 1 (latest)
here is the video for example (and yes we are not using the unity AI API because it was set as the rule from teacher)
would be much apprciated if someone with AI knowledge give guidance with this project and best possible tips and lines of code to use
if you have limitations it's best to list those so you don't waste time with solutions you can't use
if you can't use sensors then you can't use ML agents as that uses a sensor to collect the observations (unless you mean you can't use visual / ray sensors only?)
if you can use ML agents but without specific sensors (i.e. you can still collect grid info) then you can do just that, give the rat a reward for exploring a new grid square and a small negative for exploring one it has already explored
without being able to tell it the position of the cheese or more info about the maze the rat will never really be able to do more than guess though so it'll always just explore randomly