My stupid FREELOOKING problem

Good morning, afternoon, evening,

My issue:
I’m trying to implement a Free Looking system that allows the camera to rotate around the character even while the character is moving or turning. I’ve tried two approaches, but each has a problem:

  1. Using Get Actor Forward Vector:
  • I take the Z value and pass it into a Select Float.
  • Problem: When I print the value with Print String, it stays stuck at 0.0 (no rotation detected).
  1. Using Get World Rotation:
  • Everything works… except when I press A/D to turn:
    • The W (forward) action stops.
    • I can only move forward OR turn, but not both at the same time.
    • When moving backward, the movement isn’t straight, and the camera shakes.

Do you have any ideas where the problem might be coming from?

and below the print string of moving backward when using Get World Rotation.

Thank you in advance for your help.

Hi there, I think I know what you are trying to achieve there. It is an issue of Actor Rotation vs Control Rotation.

I’ve just mocked up a little quick and dirty version using a fresh version of the Third Person Template, I can show you how I achieve what I think you are trying to do.

So for starters I added a small modifier to my Event Graph in the character that enables free look while the button is held.

Then in the Move function I split out the Control Rotation and the Actors Rotation to be selected based on whether the Free Aim modifier is true or not.

This solution may not hold up to complex input but it should put you on the right path to what you are trying to achieve, or if I have completely misinterpreted what you were trying to do let me know…