Is the targeting simply highlighting what you’re looking at, or moving the camera for you to the next possible target?
To get a reference you’ll want to use a Line Trace. [Here is a nice tutorial from Epic][1]. The first part of the tutorial “LineTraceByChannel” is the answer to your question.
Hi everyone,
Im working on a target system for my project that targets the enemy that im aiming for and if i aim another enemy or move the camera so it cant target anything it changes target to the other enemy or to nothing respectively. Any clue of how to do this?
Thank you for the attention.
just highlighting, “get his reference”