Download

TFPS Gun and arms follow eyes

Hi everyone, I have been working on a game for a few weeks now and decided a few days ago to with a true first person set up. I got the camera to work exactly the way i want and have the player movement working fine, but if i look up or down, my gun/arms stay pointing straight forward. So i can look around, but i can only shoot straight ahead. My question is how to i get the gun to aim where i am looking pitch wise (My character turns with the camera side to side)?

You have to set up your aim offset. Do a search in documentation and there’s an entire tutorial on how to use it. That’s just for up and down. Side to side should work just fine out of the box if you set your character up right.

Here we go, the mentioned tutorial: https://docs.unrealengine.com/latest/INT/Engine/Animation/AnimHowTo/AimOffset/index.html :slight_smile:

I really appreciate the responses, I’ll try it when i get off of work today and let you guys know how it turns out!