x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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? alt text

alt text

Product Version: UE 4.14
Tags:
cambp.png (46.3 kB)
caminplayer.png (117.1 kB)
more ▼

asked Aug 18 '17 at 05:51 AM in Using UE4

avatar image

BigTizl
3 2 5

avatar image Chano Aug 14 '18 at 05:32 PM

Thanks a lot!! You help me with this post. I Append another way to implement in a Widget. :)

camerashake02.jpg (236.0 kB)
avatar image Chano Aug 14 '18 at 05:32 PM

Thanks a lot!! You help me with this post. I Append another way to implement in a Widget. :)

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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! :) alt text

camworks.png (97.1 kB)
more ▼

answered Aug 19 '17 at 02:49 PM

avatar image

BigTizl
3 2 5

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question