Head Rotation via Camera Issue

Hey Community,

I have another question i’d like to pose and see if someone out there can figure out what i’m doing wrong.

The Goal: Turn the player head where the camera is facing.

What’s used: C++ to acquire the information from the camera. CameraBoom->RelativeRotation always returns 0 so I elected to use the PlayerCameraManager instead. The controller is in charge of the camera.

The Problem: When clamping the amount of degrees that I want set the value naturally exceeds the clamped value thus causing the problems as seen by the pictures.

263966-f6939d3f32eef23c0e9af105c868d65f.png

Ah! I found it - I was dumb!

IN case anybody else needs the answer:

You need to make a float - float variable and plug in your camera value.Yaw/Roll/Pitch whatever you want, in with your Actor Rotation value.