How do I add input that moves the player camera up and then resets to the original camera pitch?
I have a First Person Character set up with a gun. When I shoot the gun, I want the player camera to pitch up and when I stop shooting, I want the camera to return to the pitch the camera had before I shot the gun.
asked Jul 19 '16 at 03:03 PM in Blueprint Scripting
You can do it on the character or AnimBlueprint. Interpolate the pitch while it bucks up to whatever the starting pitch was plus a saved value for the pitch change amount, then drop it back to the starting pitch. There is a Rotation Interpolate node.
You will need to set a gate, or check for a bool flag if it is to be in kickback or whatever you want to call it. Reset the pitch maybe each time you fire.
It will take some experimentation for you to get the feel of it how you want it.
answered Jul 19 '16 at 03:45 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here