i need help creating a mario like enemy ai for the roll a ball game

hi if someone could help me that would be grate I’m trying to create an enemy for the roll a ball game that is in the unity tutorials and I would like the enemy to bounce of the 2 walls going back and forth and if you touch it it will restart the game but I have no idea how to so If I could have some help that would be grate

ps I’m a total biginer

thx ,hi if someone could help me that would be grate I’m trying to create an enemy for the roll a ball game that is in the unity tutorials and I would like the enemy to bounce of the 2 walls going back and forth and if you touch it it will restart the game but I have no idea how to so If I could have some help that would be grate

ps I’m a total biginer

thx

Good day.

MAybe someone comes and gives you a 10 000 words explanation for you question… I will not. I think if you are not able to even think how can you get this, it means you still need to learn a lot, still need to watch so many tutorials, or people developing things so you get an idea of how achieve this.

Its like explaining whats a car, its simple, but you need to know whats a wheel, an engine and a road… without the basics, the explanation is not that simple. Its really very simple to do it once you know how the logic should be.

So… i recommend to watch tutorials about this, about simple AI movements and scripts.

Good luck! Bye!