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"

Need help using root motion;

I have created an animation in which the player slides along the ground when they are sprinting, I would like the player to be able to go under tables and low surfaces otherwise there is no point in sliding. Before, I was able to slide under objects but when the animation finished I would reset my position the the spot where I pressed C, then I applied root motion and that no longer happens, but the capsule collider is in the way so I cannot slide under things. Any help would be AMAZING! -Usnia

Product Version: UE 4.8
more ▼

asked Aug 30 '15 at 10:24 PM in Using UE4

avatar image

1 1 4

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

1 answer: sort voted first

Set Capsule Size on your collision capsule to reflect the new size of your character then set it back when the animation is done.

more ▼

answered Aug 31 '15 at 12:34 AM

avatar image

611 21 8 35

avatar image Usnia Aug 31 '15 at 01:19 AM

In the animation? I am unable to find the spot where I would animate the collision capsule... Also thanks SO much for the help!

avatar image IanLaBrie Aug 31 '15 at 08:37 PM

Where the player presses the slide button, likely in your character bp or controller bp (if in the controller I'd suggest still storing the "sliding" logic in the character). In the ABP you would likely inform the character when you are done sliding via a notify towards the end of the animation. Keep in mind any interrupt logic would also need to call this (for example if the player slides off a ledge and starts the falling animation before ending the slide animation; which would miss the notify event).

(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