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 Not Playing

So I wanted my Camera to shake while I'm in the Main Menu. I created a Camera Shake Blueprint, changed a few values and added PlayWorldCameraShake to the BeginPlay event of my GameMode Blueprint. Nothing happened. I might just be really stupid, but I tried a lot of things, so I assume this could be a bug.

Things I tried:

  • Printing a string after BeginPlayer works perfectly fine, so the event is actually being called

  • I tried out a lot of different value combinations in my CameraShake Blueprint

  • I removed all other Blueprints that get called after BeginPlay to test if something was interfering with my CameraShake, but that didn't seem to be the case.

I'm pretty much out of ideas now and really frustrated that something so simple gives me that much trouble. Either you can add a bug report or help me to overcome my stupidity.

Anyway, help is appreciated! :)

Product Version: UE 4.16
Tags:
more ▼

asked Dec 23 '17 at 05:25 PM in Bug Reports

avatar image

TheCreator1337
1 1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I added a custom event inside my character blueprint that just calls PlayWorldCameraShake and called that event inside my GameMode. That didn't make any difference. In the end, a small delay of 0.2 seconds before calling the event solved the problem. Idk why this works, but it works :D

more ▼

answered Dec 23 '17 at 09:32 PM

avatar image

TheCreator1337
1 1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey there, if you assign the play camera shake to a key, does that work?

more ▼

answered Dec 23 '17 at 05:41 PM

avatar image

xlar8or
6k 162 129 305

avatar image TheCreator1337 Dec 23 '17 at 09:22 PM

I tried and it works!! Thank you for suggesting that. Now I only need to find out why it doesn't work in my Main Menu...

avatar image xlar8or Dec 23 '17 at 09:24 PM

I would do the camera shake on the begin play of the character, does that make a diference?

avatar image xlar8or Dec 23 '17 at 09:34 PM

That is probably because the character doesn't exist on begin play of the game mode and adding that delay gives enough time for it to create. Please mark the answer as correct and upvote if you've found it helpful :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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