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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Aim offset yaw bug after following official UE4 tutorial


I was following the aim offset tutorial below in UE4.15, the aim offset previews look perfect however when I finished setting up the blueprint logic in the tutorial I get violent snapping when I move my camera to the sides of my character. If I keep the interpolation 15 it gets worse..

Now I've gone through the tutorial multiple times looking for what I did wrong but I don't see anything wrong. It feels like some functionality changes have caused this from the newest version of UE4.15 between when the tutorial was created.

Aim offset tutorial I followed - https://docs.unrealengine.com/latest/INT/Engine/Animation/AnimHowTo/AimOffset/index.html

Video of my problem (the blue text on the left is the value of my yaw variable) - https://www.youtube.com/watch?v=3i6zVueoZQk

Copy of my project (112MB only has the bare minimum, I started from a fresh 3rd person template) -


Is anyone else able to replicate this problem or know whats wrong?

Product Version: UE 4.15
more ▼

asked Feb 28 '17 at 07:11 AM in Blueprint Scripting

avatar image

32 3 4 7

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

1 answer: sort voted first

I downloaded the project and found your error. In the Animation event graph where you construct the rotator from Aim Yaw and Aim Pitch, you accidentally set your Yaw as Roll.alt textalt text

Looks good to me know. Cheers!

fel.png (109.2 kB)
correct.png (114.9 kB)
more ▼

answered Feb 28 '17 at 10:49 AM

avatar image

50 2 7 8

avatar image Vallamost Feb 28 '17 at 04:42 PM

Wow, good catch, that Z for Yaw must of threw me off since I was used to X being Yaw. Thank you so much for finding that.

If you don't mind, can you point me towards the direction on how I could lessen the jump for how the character looks the other direction?

Is it some type of interpolation when setting the new Yaw or Pitch?

The transition between looking left and looking right is very fast, I'd like to smooth it out.

Example - https://youtu.be/nmBYjtkiQL0

avatar image SvinSimpe Feb 28 '17 at 05:51 PM

The easiest to achieve that is to lower your interpolation speed. This would however cause your gun and character to trail after your crosshair. Which could give a more unique look to your game. It all boils down to your intended design. If not.. I would go about having one interpolation speed for the common case, meaning just aiming, and one for when your Yaw transitions between the extremes (-90 to 90 etc). Best of luck (•ᴗ•)

avatar image Vallamost Mar 01 '17 at 07:15 AM

Awesome! I really like the slower speed, it looks great. Thank you so much.

(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