camera shake in 2d side scroller
Im trying to add camera shake when the player is damaged. I have created a camera shake BP, and added the play world camera shake node as per the unreal tutorial video on camera shakes https://docs.unrealengine.com/latest/INT/Videos/PLZlv_N0_O1gYeJX3xX44yzOb7_kTS7FPM/1nMKHwsXSCc/ How ever, this tutorial video is for a FPS not 2d side. so im wondering, since my camera shake is not working, is there a different way to do this for 2D sides?
So i figured it out, and i hope this helps anyone else that wants to use camera shakes in a 2d side. So i think that since in the unreal tutorial vid, its an FPS and since the camera is inside the player characters position, then calling the location of the player character works for FPS, but in 2d side scrollers the camera is away from the player character on the y axis. so calling the actor location does shake the right spot, so you need to call the cameras location, and it works! :)
answered Aug 19 '17 at 02:49 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here