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"

How to Make a Camera Bobbing Blueprint?

Hey,

I've been having a lot of issues making a blueprint for first person bobbing(Camera emulating walking). There isn't much online at all on how to do this and as much as I've played around with blueprints i just can't figure out how to work camera bobbing. Can anyone help me set this up?

Thanks! -Aaron

Product Version: Not Selected
Tags:
more ▼

asked Apr 12 '14 at 02:43 PM in Blueprint Scripting

avatar image

AaronWildeMusic
3 4 8 9

avatar image ithinkitskevin Dec 14 '14 at 03:34 AM

In my Player Blueprint, I can't seem to find Client Play Camera Shake... Please help!

avatar image Shirk Dec 14 '14 at 09:03 AM

Is context sensitive checked?

avatar image ithinkitskevin Dec 14 '14 at 07:19 PM

Yes, it WAS checked, but when I checked it off, I was able to find Client Play Camera Shake. SO thank you for your help!

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

2 answers: sort voted first

Hey there, this is the way I did it:

  1. Right click in you project folders and select new blueprint.

  2. Go down to custom classes and select 'CameraShake'.

  3. Open your 'CameraShake' Blueprint, and go into the Defaults tab.

  4. Change your setting to look like this: alt text

  5. Open your player Blueprint and add the following code:

alt text

Set your player Max Walk Speed to 600 and enjoy!

anim.png (81.6 kB)
player.png (90.5 kB)
more ▼

answered May 13 '14 at 04:15 AM

avatar image

Vaun
46 1 3 8

avatar image Chimp May 30 '14 at 10:12 AM

Using Vauns process above which is working great, how would I apply this to my sprint only which is on the shift key? I'm just not sure how to set up the InputAxisMoveForward in conjunction with a shift key event in the character BP.

avatar image Zac Johnson Oct 01 '14 at 06:00 AM

Do you know if there is a way to play this camera shake always while the pawn is moving regardless of what is pressed?

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

Hey Aaron,

Check out the solution by Arkiras.

https://answers.unrealengine.com/questions/27955/how-to-set-up-a-basic-camera-bob.html

He needed a camera bob as well.

Peace

more ▼

answered Apr 13 '14 at 03:53 AM

avatar image

PeterLNewton
2.1k 75 36 110

avatar image AaronWildeMusic Apr 13 '14 at 12:36 PM

Hey,

Thanks for the reply. However, i did check this out and tried it out, the only problem is the guy who posted that never showed how he made the headbob loop on the vector timeline so i had no clue how to set that up. Any ideas on that?

avatar image PeterLNewton Apr 15 '14 at 08:40 AM

Here is a guide on how to use the timeline. It takes some getting use to but if you're ever used curves. You should catch on pretty fast. Also in the ContentExamples, Level Blueprint_Input_Examples they have Camera Shake on the Controller.

Here is how to Add Values to the Timeline. https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Timelines/KeysAndCurves/index.html

Overall Guide: https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Timelines/index.html

(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