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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How To Make Physic Handle Pickup With Animation?

Hello. As I said, let's say I want the character to pick up one of the books on a bookshelf. I want it to be as realistic as possible. I want the character to play the animation (reaches the book) and make the book stick in the hand of the character. How can I do that? I've tried to search for the tutorial on youtube, google, fiver and more for the technique. I want the idea and how I can create this system. This technique I've seen Far Cry Primal game has made it right. As Takkar (The MC of the game) cut down plant resources, he holds the plant with his left hand and cut it with his right hand. It so realistic and 100% accurate. I want the idea on how they do the system. It's the same thing as what I'm looking for.

Product Version: UE 4.20
Tags:
more ▼

asked Oct 30 '18 at 03:04 PM in Blueprint Scripting

avatar image

56legion
6 2 6

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

1 answer: sort voted first

I'm not sure as I've never done it myself, but I can think of two approaches:

  1. Have an animation for the character pre-made and set up the bookshelf and book so they're positioned and sized perfectly to fit the animation. Before the animation starts, play another one and position the character in the exact spot needed to make the animation fit.

  2. Still run a position-the-character-in-the-right-spot animation in front of the bookshelf, but then use inverse kinematics to allow more flexibility in how high or far to the side the character can reach for other books. If the book is far enough that it looks weird when animating, then animate moving the character closer first. If the books is too low, then the character's lower half (blend per bone) crouches. if it's too high, they stand on tiptoe.

This sounds pretty difficult. I am sure I missed something but I hope you can figure it out or if someone on here knows.

more ▼

answered Oct 30 '18 at 05:50 PM

avatar image

mightyenigma
3.8k 18 20 20

avatar image 56legion Oct 31 '18 at 12:17 AM

Thank you for the reply. Your answer is quite general but, I liked the idea of using the IKs skeleton. That's a good idea to make the character move towards the actor more accurate. I'm looking for something more specific, something like, how can I attach it to the character as a socket? I don't want the actor to be teleported but instead, the character actually grabs the actor.

(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