So I've seen this in games like Slender: the arrival, Resident Evil 7 demo and PT. The flashlight does not follow the camera perfectly. It's almost delayed a bit and is much smoother. Is there a way for me to do this with UE 4.11? If so, how?
asked Jul 11 '16 at 04:10 PM in Blueprint Scripting
This is a pretty simple thing to implement into your project.
In your player character blueprint you want to add a spring arm component and bind your camera to it as such: https://gyazo.com/717e35e03e66cd133f728a5d2377ea1e
Then select the spring arm, my settings : https://gyazo.com/f2b28d089b54fcd443a342c8ae45b9f7
What you want to focus on : https://gyazo.com/df2351290ee3e4f92805a8d3a61fcb1c
Enable a camera rotation lag with a set speed.
This will have your camera lag behind your flashlight.
You will want to have a spring arm for your flashlight as well :https://gyazo.com/ff9b2debd81b93cd09c63c4c0141f122
without any lag settings : https://gyazo.com/372795b011ba5259a1d20df4cf7154b6
Provides a more realistic approach to a flashlight so you point the flashlight in the direction you want to look and the camera follows!
Follow this question
Once you sign in you will be able to subscribe for any updates here