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"

How can i reverse the running animation

I decided to make a 3rd person to 1st person camera option using 1 key and for some reason the character is only moving its animation in 1 direction. Is there anyway I can fix this so that the character can maneuver properly?

https://gyazo.com/f665b7dae32806d6da13423e973ddd57

Product Version: UE 4.14
Tags:
more ▼

asked Jan 06 '17 at 05:27 AM in Blueprint Scripting

avatar image

High Kyle
6 2 3 3

avatar image Looniper Jan 06 '17 at 07:12 AM

I don't know what you're trying to do - the video just shows the 3rd parson character running and skidding a bit to each side.

If you actually mean to Reverse an animation, you can just set the play rate to negative 1.

Some more detail would be useful.

avatar image High Kyle Jan 06 '17 at 07:29 AM

I'm making a 3rd person to 1st person interchangeable camera where pressing 1 key on the keyboard it will switch between the two views. I made it successfully switch, however, when I do this and I move my character, he moon walks backwards and side to side. Overall it doesn't look proper.

avatar image WDR_Darx Jan 06 '17 at 10:36 AM

did you attach the cameras to the mesh? because it all works for me

avatar image High Kyle Jan 06 '17 at 03:26 PM

Yes it's attached to the mesh and not a camera boom.

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Ah, you want to have his legs move like he is running Backward...

You can use the existing animations...

First - Duplicate the Walk and Run animations and rename the copies with Reverse in the name - setting their Rate to -1 and create a "Reverse" version of the 2D "Idle-Walk" blend using them. reversing

..

Edit the AnimBP and create a second set of nodes that use the Reverse animations whenever the Boolean "Backing" is set. reversing

Then in the Character blueprint - get a Ref to the AnimBP and save it.

Every time input is > 0 (forward) or < 0 (backward) set or unset the bool in the AnimBP (and move)

reversing


The Result

link text

anim_reverse_1.jpg (181.8 kB)
anim_reverse_2.jpg (213.5 kB)
anim_reverse_3.jpg (167.9 kB)
runreverse.zip (144.9 kB)
more ▼

answered Jan 06 '17 at 07:55 AM

avatar image

Looniper
761 22 7 36

avatar image High Kyle Jan 06 '17 at 04:53 PM

Ok I understand that and I made it so the animation plays backwards at the speed I want. However, my character is still leaning forward like he's still wanting to run forwards, I researched and saw that editing the bones doesn't save it with the animation (which is pretty dumb). So i decided to open the animation in Blender and rotate the bones so the animation would play the same but leaning backwards slightly however it doesn't save and it goes back to the way it originally was. Any way can I rotate all the bones on the X axis by -20 so the character looks more realistically wanting to move back?

What I mean is the animation is currently this: https://gyazo.com/aa038196cdba40799c1a2522f97b9b7b

Meanwhile I want it like this: https://gyazo.com/8ce1fd1db7756e00190a6632e83e4cd9

The only difference between the two is that the pelvis bone is rotated -20. However, unreal engine doesn't save the bone changes :/.

avatar image High Kyle Jan 07 '17 at 04:24 AM

Ok I understand that and I made it so the animation plays backwards at the speed I want. However, my character is still leaning forward like he's still wanting to run forwards, I researched and saw that editing the bones doesn't save it with the animation (which is pretty dumb). So i decided to open the animation in Blender and rotate the bones so the animation would play the same but leaning backwards slightly however it doesn't save and it goes back to the way it originally was. Any way can I rotate all the bones on the X axis by -20 so the character looks more realistically wanting to move back?

What I mean is the animation is currently this: https://gyazo.com/aa038196cdba40799c1a2522f97b9b7b

Meanwhile I want it like this: https://gyazo.com/8ce1fd1db7756e00190a6632e83e4cd9

The only difference between the two is that the pelvis bone is rotated -20. However, unreal engine doesn't save the bone changes :/.

(comments are locked)
10|2000 characters needed characters left

I recently did a set of videos on a hacky way of getting more out of just one animation. See here https://youtu.be/-puSCloMlJY

Note i used it for vr but can just as well be used for normal games. I use motionbuilder to manipulate the animations, but suppose you can do something similar in ie. Blender or whatever 3d app you may have access to.

more ▼

answered Jan 06 '17 at 09:21 AM

avatar image

Jonas_Molgaard
481 28 24 46

(comments are locked)
10|2000 characters needed characters left
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