Introducing ML with ML-Agents
Many parts of developing a video game touch on technologies that could fill entire books all on their own, and ML is definitely one of them! Unity has its own tooling for ML that is particularly suited for games, and it’s called ML-Agents.
ML-Agents is an AI toolkit for Unity developers that helps them create advanced and complex behaviors in their games and simulations using ML techniques. Unlike BTs, which rely on hand-crafted sets of rules, ML-Agents leverages ML to enable NPCs to learn and adapt their behavior by interacting with their surroundings. This is accomplished by training an agent using ML techniques such as reinforcement learning, imitation learning, or other custom methods. The process enables trained agent NPCs to determine the best course of action, all on their own, constantly changing and surprising you with dynamic and, hopefully, unpredictable gameplay. I briefly noted emergent gameplay before, and this is it!
Unity ML...