I am working on a Third Person Camera. I want the Camera to follow a Target Unit, and I want the Camera Yaw to update with the Facing Angle of the Target Unit.
Currently I have the Camera following the Target Unit.
Camera - Follow for player 1 (Unit group(ENGINE: Hero (Record).Hero)) with the camera and Clear Current Target
However I have not been able to get the Camera Yaw to update according to the Target Unit's facing. I want the Camera Yaw to update whenever the value of "Facing Angle" changes for the Target Unit.
This is my best attempt:
UI: Third Person Camera
Events
Timer - Every 0.0 seconds of Game Time
Local Variables
Conditions
Actions
Camera - Set ENGINE: Third Person Camera Rotation to (Facing of ENGINE: Hero (Record).Hero)
I have tried updating both the "Rotation" value and the "Angle of Attack" value. Neither of these presets change the Yaw of the Third Person camera in game.
Does anyone know how to get the Camera Yaw to update according to the Target Unit's Facing Angle?
I am working on a Third Person Camera. I want the Camera to follow a Target Unit, and I want the Camera Yaw to update with the Facing Angle of the Target Unit.
Currently I have the Camera following the Target Unit.
Camera - Follow for player 1 (Unit group(ENGINE: Hero (Record).Hero)) with the camera and Clear Current Target
However I have not been able to get the Camera Yaw to update according to the Target Unit's facing. I want the Camera Yaw to update whenever the value of "Facing Angle" changes for the Target Unit.
This is my best attempt:
UI: Third Person Camera Events Timer - Every 0.0 seconds of Game Time Local Variables Conditions Actions Camera - Set ENGINE: Third Person Camera Rotation to (Facing of ENGINE: Hero (Record).Hero)
I have tried updating both the "Rotation" value and the "Angle of Attack" value. Neither of these presets change the Yaw of the Third Person camera in game.
Does anyone know how to get the Camera Yaw to update according to the Target Unit's Facing Angle?
Use the trigger "apply" instead of "set"