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"

[4.7] Root motion/In place transition loose speed

During transition from Root Motion "start_walking" animation to in-place loop "walk/run" character speed goes down to 0 and then starts to accelerate again.

What causes that?

On the picture: Doesn'tMove bool is true when both axis values are zero

alt text

Thanks

Product Version: Not Selected
Tags:
locomotion.jpg (326.0 kB)
more ▼

asked Mar 22 '15 at 05:36 PM in Using UE4

avatar image

Onisanya
93 4 8 16

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

1 answer: sort voted first

Hi Onisanya,

I had the same issue with my setup, and upon further debugging i found out that the calculated root motion velocity from the last few frames of my "Start" animation was zero (i guess the root was not moving in those frames).

The solution i used was to setup notifies to enable and disable root motion in the "Start" animation sequence so that the calculated root motion velocity does not drop to zero and carries over to the in-place "Loop" animation.

The way i disabled/enabled root motion was by making my own AnimInstance class and having a "Blueprintcallable" function which sets the RootMotionMode variable to either ERootMotionMode::IgnoreRootMotion (disabling) or ERootMotionMode::RootMotionFromEverything (enabling).

Hope that makes sense.

Thanks

more ▼

answered Apr 08 '15 at 07:19 PM

avatar image

PowerFighter
111 4 2 5

(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