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"

Animated Interaction with objects

I want my character to open a door with animation; hand pushing down a door handle and open a door. Basically I need two animation working together right? First animation - door with animated door handle going down. Second animation - character hand pushing down in the air. So we stack those two animation together. Is that how it works? Or there is any other way to make it?

Product Version: UE 4.20
Tags:
more ▼

asked Nov 01 '18 at 05:45 PM in Using UE4

avatar image

NewMan2332
23 2 5 9

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

1 answer: sort voted first

That's one way to do it. Another way could be to use AnimNotifies to trigger assigning a reference in the door handle to the character's hand bone, and then on Tick, have the handle follow the bone's relative rotation (but only on one rot axis so it stays mounted in the door of course). Then a second AnimNotify clears the reference. In the handle's tick, it checks for the reference to be valid before doing any rotation updates.

Another way is to do like the above but have the notify trigger the door handle's timeline to move the handle.

But the way you mentioned is probably the one that will make the two animations sync the best. My first suggestion makes it more like a dynamic interaction driven by the animation.

There's probably a few other ways too. Not sure what industry standard way is though. Have you asked Google?

more ▼

answered Nov 01 '18 at 06:45 PM

avatar image

mightyenigma
3.7k 18 23 20

avatar image NewMan2332 Nov 01 '18 at 07:09 PM

Hmmm. I tried to find answer in google but no luck

avatar image NewMan2332 Nov 03 '18 at 05:45 PM

Do u knw something about IK bones. Somebody told me that is the correct way doing it.

avatar image mightyenigma Nov 03 '18 at 06:33 PM

iK bones make it so you can place the hand bone anywhere that it can reach. And the elbow bone will follow it automatically. I have used this when authoring skeletal animation sequences but i dont know how to make it dynamic in unreal so you can just move the hand bone during gameplay. That is probably what you need to learn how to do.

avatar image NewMan2332 Nov 03 '18 at 06:50 PM

Attache hand to door handle animation and arm will follow. No?

avatar image mightyenigma Nov 03 '18 at 08:49 PM

Yes that is the right idea but I dont know how to tell those bones to be only IK driven in gameplay instead of following character's animation.

(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