Last time we implemented a system to manually Lock on and off from nearest enemies in the melee combat system we have worked on. Today, we will implement a soft lock system. Soft lock means, when the character is in combat mode, if there is an enemy nearby, character will automatically focus on that enemy. When the character is focused on an enemy, character's gazed will be maintained at the enemy despite the direction of movement. If player move away a certain direction from that character, lock will be automatically disabled. If another enemy character come closer, player will change the lock to new closest enemy. If player do an attack while locked on to an enemy, attack will be focused on the locked enemy character. As we are implementing the systems with multiplayer in mind, everything will be properly replicated.