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 do you change the rate/speed of animation?

To be a little more specific, I am currently using Custom Time Dilation to do this. So basically when my character runs at let's say 2000 speed, his legs don't get faster, makes it look unrealistic. So by using Custom Time Dilation, the animation looks good except the gameplay rate/speed also changes which is a clear sign that it's not supposed to be done this way. I heard something about Play Rate but not quite sure.

Thanks.

Product Version: UE 4.10
Tags:
more ▼

asked Oct 19 '16 at 06:48 AM in Blueprint Scripting

avatar image

c0ldpr0xy
31 6 8 12

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

5 answers: sort voted first

There is indeed playrate support.

You can use it via a blueprint, or you can pass a parameter to the animation blueprint that can then be picked up in the animation graph and applied to an animation.

Blueprint Method

OR

alt text

Edit: I should elaborate that when you are in the animation graph you select the animation in question. The details panel will provide a checkbox to enable exposing the play rate as a pin on the animation.

playrate.png (128.6 kB)
more ▼

answered Oct 19 '16 at 07:24 AM

avatar image

learningOver
159 3 3 9

avatar image c0ldpr0xy Oct 19 '16 at 09:37 AM

Worked like a charm... I've spent 6-8 hours trying to fix this, thank you!

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

I'm not too familiar with the custom time dilation node but I'd say the easiest way to do this would be to use a blend space where the in-game velocity of the character directly controls the animation. I'm not quite sure if it can pass the standard 'rate' for the animation but I also know that the rate can be adjusted here. This is all done in the animation blueprint. ' If you click on any animation in the AnimGraph in the animation blueprint, each animation in there should have a 'play rate' in the bottom right hand in the settings panel.

more ▼

answered Oct 19 '16 at 08:36 AM

avatar image

Nken418
353 11 3 14

avatar image c0ldpr0xy Oct 19 '16 at 09:38 AM

Thank you, I would have never have found that at the bottom right panel if it hadn't been for you :)

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

No, the animation speed doesnt change when the speed increases in the blendspace. Im having this exact problem. I have a project where the character increases velocity as a skill, and i need to change the speed of the whole blendspace to achieve that. Also, you cant change an specific animation play rate through blueprints, you need a montage to do that.

The problem is that im not using a direction/speed based blendspace, but a input axis based one. So my axis are WalkForward and WalkRight. I am looking for a way to change the whole blendspace play rate within the anim blueprint (or other blueprint for the matter).

Any ideas?

more ▼

answered Oct 09 '17 at 11:02 PM

avatar image

amstradcpcuser
41 5 9 13

avatar image c0ldpr0xy Oct 10 '17 at 09:46 AM

Yes. I did fix it long time ago. Basically, you make a variable (with blueprints) and that variable needs to communicate with the the Play Rate in the AnimGraph thing. Works like a charm.

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

Yes, i already knew how to change specific animations play rate. Thats not what im asking. But how do you communicate with the play rate of the entire blendspace???? for one or two animations it isnt a problem. With dozens, it is... still looking for a solution :p i just dont want to spent one hour filling my screen with nodes.. :p

I even thought on just doing 3 different blendspaces with the same animations but different speeds.. but thats cheap as hell. I cant believe there isnt a way to change an entire blendspace rate within blueprints...

more ▼

answered Oct 10 '17 at 02:40 PM

avatar image

amstradcpcuser
41 5 9 13

avatar image learningOver Oct 10 '17 at 05:30 PM

But there is, when the blendspace is placed into the graph you select the node and in the details pane, you can check the box titled play rate, this exposes the pin availability on the node, allowing you to tie your variable to the blend space play rate.

It's the same way as per animation or am I somehow misunderstanding you.

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

Yeah, thanks i figured it out the other day. It was simpler than i thought lol.

more ▼

answered Oct 15 '17 at 03:06 AM

avatar image

amstradcpcuser
41 5 9 13

(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