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"

Animation Time to make an effect when i walk.

Hi!

I would like to make my camera "bounce" on each step my character make. Actually I'm doing that, but since my value are hard coded and there is no relation beetwen that and the animation, the step and the bounce are not connected.

http://i.imgur.com/rKJuEJ9.png

I'm trying to find a way to get the actual animation time (each loop of the animation is one step so it's will be easy to connect booth) or find a way to move the camera inside the animation.

The current problem is that I don't know how to get the current animation time. This is the animation i want to check.

http://i.imgur.com/J7KvopC.png

How do I get the Play hermann_Animation_Walk time? should i do it inside the Walk(state) of the animation, or inside the character?

Thanks for the help.

Product Version: UE 4.10
Tags:
more ▼

asked Mar 12 '16 at 05:13 PM in Blueprint Scripting

avatar image

Crocsx343
32 7 11 11

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

1 answer: sort voted first

Well this doesn't help with getting the time, but have you looked into notifies? https://docs.unrealengine.com/latest/INT/Engine/Animation/Sequences/Notifies/index.html Usually whenever i want something to happen on step, i use those. That way your bobbing would be true to the amount of steps your taking. Could be neat that way.

more ▼

answered Mar 12 '16 at 05:24 PM

avatar image

JoshieZombie
271 22 20 26

avatar image Crocsx343 Mar 12 '16 at 05:31 PM

Didn't knew about that. Looks interesting thx, will try to do something with it.

But if I understand that well, I can fire an event start/tick/end when my animation play.

If i walk fast i play the animation faster and if I play slow i player the animation slower.

In booth case I will have a problem to synchronise my "bump effect" if I can't know where I'am in the animation precisely.

avatar image JoshieZombie Mar 12 '16 at 05:36 PM

Couldn't you just hook the notify event up to a timeline and adjust your camera 'bump' right then and there in the timeline? It'd be relatively clean that way. Not sure why you'd have problems syncing them.

avatar image Crocsx343 Mar 12 '16 at 06:49 PM

No you right, I just didn't knew how to use it ;)

basically I did a curve on the animation, and i get her value on the character BP to set the elevation of the camera boom.

Perfect thank you very much

avatar image JoshieZombie Mar 12 '16 at 06:58 PM

Great, glad I could point you in a good direction :)

(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