An UE4 plugin written entirely in C++ which adds support for a simple Camera Lock On / Targeting system. It was first developed and tested in Blueprints, and then converted and rewritten into a C++ module and plugin.
Download: https://www.unrealengine.com/marketpl...
Features:
Customizable with a set of options that can be overridden in Blueprints.
Easy setup: only one Actor component to attach and a minimum of one functions to bind to input.
Target closest enemy (Pawns by default, customizable with TargetableActors UPROPERTY).
Break on Line of Sight when getting behind an object.
Break Target when getting outside minimum distance to enable.
Simple TargetLockedOn Widget included, can be customized / overridden.
Option to control character rotation when locked on.
Switch to new target with axis input (on mouse / gamepad axis movement).
Two Blueprint implementable events on component on Target Locked On and Off.
100% open source for anyone to compile from the source code repository
Watch video Unreal Engine: Target System C++ online without registration, duration hours minute second in high quality. This video was added by user Roendpunt 13 February 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 699 once and liked it 9 people.