Unity Lock-On System with Analog Target Switching Showcase

Опубликовано: 16 Июль 2026
на канале: Axel Vera
131
0

Lock-On system with target switching using an analog stick similar to how it works in games made by Fromsoftware. Target is chosen based on the direction of your input, and the enemy with the closest angle in relation to the camera view, this simple approach causes some unexpected behaviour from time to time, I would recommend factoring magnitude into the equation somewhere. Camera uses cinemachine.