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"

Why is Root Motion Collision not allowing the animation finish?


I'm trying to make a zombie cross a window. I'm using an animation montage with root motion enabled, but the collision of the capsule component is not letting the animation finish. If I don't use root motion, the capsule component is left behind.

How should I make it so the zombie can cross the window along with his capsule component so my character's bullets don't go through him?

I made a video to show the problem:


Product Version: Not Selected
more ▼

asked Jun 03 '14 at 02:53 PM in Blueprint Scripting

avatar image

707 33 107 127

avatar image DizzyWes ♦♦ STAFF Jun 03 '14 at 03:17 PM


There's probably a better way to do it, but you could set/re-set the capsule size of the character temporarily when your character is going through the window, something like:

alt text

Granted the values are for the default character, but you could set them for your character as well. Also, I'm doing it by button press, but you could set it to occur when the anim montage starts of your character going through the window.


setcapsulesize.png (93.3 kB)
avatar image DJMidKnight Jun 03 '14 at 05:10 PM

If you look at crouch it uses a bool to check for when crouched and then does what Wes Bunn is showing you. So you could put in a bool check with this as a function and then make the bool true when using the window enter animation and then false when in the walk animation.

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

1 answer: sort voted first

Thank you, I was able to do it by changing the capsule size as you said =).

I ran into a problem though, since the capsule is the root component, the zombie was going underground when I changed the size of the capsule because of gravity. So what I had to do is change the zombie movement mode to flying at the start of the animation, then back to walking at the end.

The changes are made using an Animation Notify State: alt text alt text

I don't know if changing the movement mode to flying during the animation is the best option, but it's working.

more ▼

answered Jun 04 '14 at 08:29 PM

avatar image

707 33 107 127

(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