How To Rotate Arm Bone Towards Camera View

Hello, I have a wall running mechanic for my thirdperson character and I would like for the arm to aim independent of the character while its wall running.

What I’ve done is resetting the arm bones pose by feeding it into an empty layered per bone node, now that the bone is back in its default pose, I then set the arms rotation via the control rotation and just offset the rotation by 90 so that the arm is upright in an aiming position.

My problem is the arm does not follow the camera view and the initial rotation will become out of sync once the actor rotates etc.

What I would like is for the arm to aim itself towards the camera view, so if my character is facing whatever direction it will stay rotated in that direction and not follow the actors rotation.

Heres the node setup in the anim bp.

Any help would be appreciated thanks!

I think you could try getting the forward vector of your player’s camera, and then try a LookAtRotation and break the Rot for the input.

I’m assuming the cameras forward vector would be the target for the LookAtRotation but what would I put as the start?

I tried the actors location and the socket location for the arm bone but both didn’t work.

Maybe try the camera location as the start?