# Make mover face object (GASP)? 

**URL:** <https://forums.unrealengine.com/t/make-mover-face-object-gasp/2849133>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [November 2, 2026, 6:11pm UTC](https://forums.unrealengine.com/t/make-mover-face-object-gasp/2849133 "2026-11-02T18:11:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamidres2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kamidres2](https://forums.unrealengine.com/u/kamidres2)\
**Post date:** [November 2, 2026, 6:11pm UTC](https://forums.unrealengine.com/t/make-mover-face-object-gasp/2849133/1 "2026-11-02T18:11:50Z")

</div>

To anyone whom may have more experience with unreal engine how I could go about making the sandbox mover in GASP 5.8 face another blueprint class (like a lock on system) but at all times.

it’s usually easy on blank projects but I think gasp has something dictating the rotation that doesn’t allow it, I’ve been stuck on this for awhile but my end goal is

1. Have character face enemy
2. Have enemy face character

Would really appreciate any help on this.

---

<div class="post-metadata">

**Author:** ![BRGEzedeRocco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgezederocco/32/1216890_2.png) [@BRGEzedeRocco](https://forums.unrealengine.com/u/BRGEzedeRocco)\
**Post date:** [November 4, 2026, 7:32pm UTC](https://forums.unrealengine.com/t/make-mover-face-object-gasp/2849133/2 "2026-11-04T19:32:37Z")

</div>

Hello @kamidres2 ,Welcome to the forums!  
I’m not sure if this is the most efficient way to do it, but I found this solution.  
You could try the following to implement a Lock-On system in SandboxCharacter\_Mover from GASP 5.8, allowing the character to lock onto an enemy or another Blueprint. In this example, I used a simple enemy that only has a Skeletal Mesh with its collision set to Pawn.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/d/fcdb76c8ff406576c75d7e597ca0777da4bb6c8e.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/c/e0c6d4b25c27fe1b3de4b0fbcbf6cda5e68669bd.png)

In the Event Graph of SandboxCharacter\_Mover, add the following logic to detect enemies using Sphere Trace For Objects.

When pressing the 1 key, check whether the player is already locked onto a target. If they are, unlock the target and then clear the Hit Target reference. This prevents Is Locked On from being set to false when there is no enemy in range. Otherwise, execute the Sphere Trace to detect an enemy.

If the Trace finds a valid actor that is a Pawn, save its reference in the Hit Target variable. To create this variable, right-click the Hit Actor pin and select Promote to Variable. Then, set Is Locked On to true. This way, the player can only activate Lock-On if there is an enemy within the Sphere Trace range.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/b/9/eb9e764522a5f6af746fb3aea8e6b973ed6974b0.png)

Next, in the Event Tick of the same SandboxCharacter\_Mover, add a check to verify whether Hit Target is valid.

If there is a valid target, use Find Look At Rotation to calculate the rotation needed to look at it. Then, get the player’s Controller and use Set Control Rotation to update its rotation.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/2/9d2121139bd88751de8722ebc557feb3e3dfab6c.png)

This allows the camera to face the target. However, it does not directly change the character’s body orientation, since GASP uses Mover to control its rotation.

To make the character’s body also face the enemy, you need to modify the ProduceInput function.

Inside this function, find the section where Orientation Intent is set and add a Branch to check whether Hit Target is valid.

If the target is valid, calculate the direction toward it by subtracting the player’s location from the target’s location:

Target Location - Player Location

Then, apply Normalize 2D to obtain a normalized direction on the horizontal plane. This means the resulting vector maintains the direction toward the target, but its length is adjusted to 1. This way, only the direction is used, not the distance to the enemy. This is important because Orientation Intent needs to know which direction the character should face, regardless of how far away the target is.

Next, add another Set Members in Character Default Inputs node, using Mover Default Inputs Pre Sim as the Struct Ref and modifying only the Orientation Intent field.

This allows you to override the Orientation Intent originally calculated by GASP and makes Mover use the direction toward the enemy to orient the character’s body.

Finally, if Hit Target is not valid, let the execution continue through GASP’s original logic.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/5/755939dd84d39b81b296a3240d569d598a9f7414.png)

To make a simple enemy lock onto the player, you can do the following. In this example, I use the BP\_Enemy mentioned earlier.

Inside the Event Graph of BP\_Enemy, create a Boolean variable called Is Looking at Player. This variable allows you to control whether the enemy should look at the player or not.

Then, in the Event Tick, add a Branch that checks whether Is Looking at Player is enabled. If it is true, get the Player Pawn using Get Player Pawn and check whether it is valid with Is Valid.

Next, use Get Actor Location for the enemy and another one referencing the Pawn. Then, add a Find Look At Rotation node, using the enemy’s location as Start and the player’s location as Target.

Connect the result to Break Rotator and use only the Yaw value to create a new Make Rotator, leaving Roll and Pitch at 0. Finally, connect the result to Set Actor Rotation, using the enemy itself as the Target. This way, the enemy only rotates around the vertical axis to face the player.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/d/6fd8f77a0cba36993f8a7649549463758bdbc1b9.png)

To control when the enemy starts or stops looking at the player, create two Custom Events in BP\_Enemy: Locked On Player and Not Locked On Player. The first one sets Is Looking at Player to true, while the second one sets it to false.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/a/9caf8c1a244d64387f1d2b114181cf0224e3facb.png)

Then, go back to SandboxCharacter\_Mover and, in the Event Graph, get a reference to the enemy. To do this, add the following logic to the Begin Play.

Use a Get Actor of Class node and set BP\_Enemy as the Actor Class. Then, connect its Return Value to a Set BP Enemy node to store the enemy reference in the BP Enemy variable. This reference will allow you to call the enemy’s Custom Events later.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/2/1728f1a328327a61035824103407934bd041b422.png)

After that, add the input logic to call these events. In this example, I used the 2 key along with a Flip Flop to alternate between both states. From the BP Enemy reference, call Locked On Player when the Flip Flop’s A output executes, and Not Locked On Player when its B output executes.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/3/a83af68c157aac1e3dd0d2e537a4d850230f7756.png)

This way, when pressing the 2 key, the enemy will start looking at the player, and when pressing it again, it will stop doing so.

Hope it helps!
