I created different agents for the player and enemy and when they are by themself I can train them with no problem.
But what I want is, these two to play against each other and train together.
When I use for example “AddReward” how can I choose if I want to reward the player agent or the enemy agent?
Both player and enemy have “Behavior parameters”, “Ray Perception Sensor 3D”, “Decision Requester”.
I probably should mention that the player and the enemy have completely different gameplay so the agent I train for one is useless for the other.