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"

Root Motion isn't processed entirely in blending 2 states

Hello i have a Idle and Turn Left and Right 90º with root motion. I've set up my animation blueprint to transition from Idle State to Turn Left or Turn Right State. My problem is that i have a BlendSettings Duration of 0.2 Cubic and when i transition from Idle to a Turn state the root motion isn't processed entirely and my character only turns 85º. If i set the Duration to 0.0 the character turns 89.99º, but obviously i get a pop on the animation. How can i fix this?

Product Version: UE 4.8
Tags:
more ▼

asked Aug 07 '15 at 09:43 PM in Using UE4

avatar image

xlar8or
6k 161 129 304

avatar image sranck Aug 23 '15 at 01:46 AM

I'm having the same problem. Have you found a solution?

avatar image xlar8or Aug 23 '15 at 01:54 PM

Not at the moment :S

avatar image rj_flashbak Sep 28 '15 at 01:40 PM

You can set custom transition blend, set transition time to be > 0.f, and transition rule should be set to allow fully play your turning animations.

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

1 answer: sort voted first

When blending Idle (0 degrees) with a Rotate 90 degrees animation (with a blend duration of 0.2), you end up with an almost 90 degree rotation of your character. It seems like root motion is added incrementally from the previous frame of animation, rather than set to whatever value the animation has in relation to the orientation of the character when the animation began.

A fix that worked for me was to move the root animation rotation keyframe a bit into the animation so that the rotation of the root did not happen until the blend was complete. So in my case I had a turn 90 degrees animation at 30 fps, where I moved the first rotation keyframe to frame 7. I then used a blend duration of 0.2 (equal to six frames of animation at 30 fps).

Since my character is connected to the root I only moved the rotation keyframe and not the translation, so that the collision capsule wouldn't drift too far from the skeletal mesh.

I hope this helps.

more ▼

answered Oct 26 '16 at 08:52 AM

avatar image

Hejden
136 6 12 21

(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