This is a game I made 3 years ago when UnityWebPlayer is present.
This time I used ML-Agents and make Player moving automatically with AI.
1. The player can move around the enemy circularly
2. The enemy changes its direction, up and down, left and right, and attacks towards upper, lower, left and right stop points
3. Players can only attack on the enemy's front, rear, left and right stop points
4. The back of the obstacle is not attacked by the enemy
5. When you take a glowing ball (recovery item), your physical strength recovers
- Player's position parameters (x, z)
- Player's HP rate (HP / max HP)
- Rotation angle of Enemy
- HP rate of Enemy (HP / max HP)
- The position parameters (x, z) of the RecoverItem
0: Move to the right
1: Move to the left
2: Attack against Enemy