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"

Dodge roll animation rolls character out of places and camera wont follow the movement when animation is in play.



There is my blueprint config for that action and a record which shows exactly what it does wrong currently :)

Product Version: UE 4.9
more ▼

asked Sep 29 '15 at 09:14 PM in Using UE4

avatar image

1 1 2 2

avatar image mirsabayu Sep 30 '15 at 03:35 AM

are you forgot to set the root motion ??

avatar image kaamoz Sep 30 '15 at 06:51 PM

My skeleton doesnt have root bone, so is there any way to set movement capsule follow character mesh during dodge? and if so, how is it coded in blueprint? im am not too far from beginner level so... :)

avatar image maranbe0 Sep 30 '15 at 07:08 PM

I believe the main problem you are having is that your animation actually moves in space, instead of being moving only in its axis.

If you look at the player blueprint viewport, you'll see that the 'boss' of player is the capsule component, and you can't change the position of it in the world, because it is the base for your character. There is no easy way around it, you need to either fix your animation so it performs the animation but it doesn't actually move in space or alternatively you can 'hack' by using a timeline to move your rolling animation back in space as it moves forward, so even if it is moving in space, every frame you push it back, so it looks like it isn't moving, and then you move the whole player (capsule).

Sorry if I was little confusing, but if you have access to the animation or if oyu did it yourself is better to fix it in Maya so you get in the habbit of doing animations like that. (If you look at the walking/running cycles they don't actually move the player in space, they only feel like they're moving)


avatar image kaamoz Sep 30 '15 at 07:28 PM

Thanks for a very informative reply mate! :) i can actually change the animation so that it plays in place. But how can i code it then like this. Press V -> dodge roll animation plays off but also the capsule component needs to move certain amount of length in world. So that it doesnt do the roll in place when play testing. The length of the capsule movement should also be fixed so that the player dont have access in any control during the animation. Im talking about tera/guildwars2 etc dodge roll mechanics. When pressed dodge key -> character dodges say 2 metres. If i just know how to do forced capsule movement during animation play i would be golden here :D

Btw sorry for my english, not so topnotch :)

avatar image vydraf Dec 22 '15 at 02:07 PM

i have very same problem with 5 animations i am using :D do you have a solution how to fix it so it looks kind of ok when playing?

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

1 answer: sort voted first


Try the Launch Character funcion, here is an example:

alt text

When I press the "V" key, it triggers the custom event that launch character forward.

The effect is like this video, but note that as I don´t have a dodge animation, when the character is launched forward it uses my running animation, ok?

So you have to use the launch character function mixed with your custom animation. You could use the "Play Animation" function in the same custom event to launch, for example.

Here is the video: https://www.youtube.com/watch?v=-Tx3wJgG2TI&feature=youtu.be

launch.png (350.8 kB)
more ▼

answered Dec 22 '15 at 03:04 PM

avatar image

1.4k 54 21 60

(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