Retain Player Movement On Camera Switch
So I've been trying to figure out how to retain player movement after a camera switch. I'm using the "Classic Survival Horror Camera System" I bought from the store. By default it has the "tank control scheme" which is fine, but I'm trying to set up the control scheme from the PC version of the Resident Evil Remake.
What I'm trying to achieve is that the player direction carries over from the last camera angle to any number of camera changes as long as the player is still holding the last input on the thumb stick before the camera change and then updates to the new camera angle once the player let's go or changes the input direction on the thumb stick.
Below I've uploaded an image of my current set up. I left the tank controls intact.
asked Jan 22 '17 at 07:07 PM in Using UE4
instead of using the camera rotation directly, store it in a rotator variable. then you can update that rotator variable to equal the camera rotation, whenever the player isn't walking.
answered Jan 22 '17 at 09:00 PM
Ahh man, Thanks for the help I finally got it working. I took the character movement and then Get current Acceleration. I did an = equal check to 0, when true it updates the stored rotation variable.
Thank you for pushing me in the right direction !!!!
answered Jan 23 '17 at 06:22 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here