Moving camera towards right gamepad stick direction
Hi! I'm working on a mobile twin stick shooter and I have been trying to figure out how I could smoothly move my camera a little bit towards the direction I am shooting with my right gamepad stick to create a bigger field of view.
Here's an image of the blueprint as is: Now I was thinking that I must take the axis values and make them into a vector and then somehow add them to the camera location to be able to move it the direction I am shooting, but my attempts have not worked. A friendly hand would be dearly appreciated! :)
asked Feb 13 '16 at 12:30 PM in Blueprint Scripting
You can use the AddRelativeLocation node of the camera component and move the vector of your axis input.
In the example, FireFoward and FireRight are my InputAxis for the Right stick and then rotated it since the camera is facing down.
answered Feb 17 '16 at 01:10 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here