As we continue to layer more and more complexity with game mechanics this will invariably lead to submechanics of larger more complex system. One such submechanic would be a distraction system as a part of a larger detection mechanic. We’ll be using a previous example...
In a previous article we talked about the general settings of a Cinemachine Virtual Camera which briefly covered Aim Settings and Body Settings. In layman terms Aim Settings cover the rotation of the virtual camera where Body Settings cover the transform of the...
As you code more and more advanced AI you will need to create greater and greater types of complex movement. Simply following the player around isn’t enough to create compelling gameplay. For example when layered on other complex systems like the motion detection...
Giving enemies the ability to detect and react to your player is a fundamental mechanic that act as the bedrock of enemy AI. This can be as simple as target acquisition to chase or shoot at your player or creating more complex mechanics such as a stealth or cover...
Time to get those bones moving and grooving using Unity’s animation system. In this article we’ll take the player character we’ve been building over the last few articles and get them animated. Start by opening up your project (or starting a new one) and set up your...