Download

Locking Upper Body Movement to Camera Look Direction

Details:

  • I have a robot character that walks and flys and can “sprint” in both modes (3rd person)
  • Camera free rotates around character.
  • On Primary Fire:
    ** In Character BP I’m removing sprint speeds, moving the camera to an over the shoulder position and initiating a morph target of the gun coming up from its arm.
    ** In Animation BP I’m transitioning to the primary firing animation for both walking and flying and using a layered blend pose to only use the waist up animation for the firing.

Goal:
When pressing primary fire I would like the upper body (body bone and all children under) to automatically align to the camera look direction, with upper/lower degree limits for looking up and down. When releasing primary fire the camera would go back to free look mode.