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"

LookAt AimOffset interpolation not working ingame

Interpolation between animations in an AimOffset is working fine in the preview window but not at all when you are ingame. It will go instantly to the value you set.

alt text

The "AimOffset" node works with interpolation but not the "LookAt Aimoffset" node

alt text

Product Version: UE 4.19
bug2.png (112.3 kB)
bug.png (67.5 kB)
more ▼

asked Oct 24 '18 at 12:42 PM in Using UE4

avatar image

93 3 4 7

avatar image Steve SybrSyn Oct 24 '18 at 02:44 PM

This could be a million different things, lets see your blueprints.

avatar image carpet200 Oct 24 '18 at 04:06 PM

I found out that the "AimOffset" node indeed works, so i changed my question a bit. But my problem from the start was that the "LookAt AimOffset" node dosen't work with interpolation.

the simplest code is to just have this in the animation graph and have a world location as input: alt text

This works, the character looks at the world position. But when i change the position the head instantly snaps to the new position, with no interpolation. If i use the "AimOffset" node instead the interpolation works.

img.png (54.4 kB)
avatar image Steve SybrSyn Oct 24 '18 at 07:36 PM

That's because you are just setting the look at location, you need to interpolate the location and feed it into your variable as it interpolates. Here is a epic tutorial that goes over how to setup exactly this. I think Wes goes over it somewhere in the middle, but I would highly recommend checking out the whole video:


avatar image carpet200 Oct 25 '18 at 07:09 AM

No they actually use another node called "LookAt" not "LookAt AimOffset". I understand that the "LookAt" node instantly moves the head but the "LookAt AimOffset" node is a child class of the "AimOffset" node (looking in c++). They just haven't taken the interpolation values from the parent class into consideration when moving in the aim offset graph as i think they should have.

avatar image carpet200 Oct 26 '18 at 08:30 AM

I submitted a bug report. I'll just have to use the "AimOffset" node that has working interpolation until it's fixed i guess. Thanks for the help.

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

1 answer: sort voted first

The bug report ticket is here if someone want's to know if it's fixed yet: https://issues.unrealengine.com/issue/UE-65910

more ▼

answered Oct 29 '18 at 02:55 PM

avatar image

93 3 4 7

(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