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"

Adjusting bone positions/rotations according to object

Say you had two differerent sized objects that the player could hold with one hand. One is small enough that the fingers would need to be moved fairly close together (a book for example), while another (let's say a sword) would have the hand open slightly. How would I achieve this? Does it have to be done with a blended animation, or can the bones be manipulated at runtime?

Here's what I have so far, the object simply parented to a box parented to a finger bone with an offset: ![1]

This isn't pretty to look at, the hand should be closed around the object.

[1]: http://i.imgur.com/Cok5KSS.png

Product Version: Not Selected
more ▼

asked Mar 26 '14 at 07:23 PM in Using UE4

avatar image

16 4 7 8

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

1 answer: sort voted first

As an animator, I think having a "handful" of additive hand poses is by far the easiest, cleanest solution. This basically means having anim sequences with the character in it's default (t-pose) or idle pose with only the fingers posed. One anim for your sword pose, one for the book pose, etc. These could then be additively layered onto your animation in the character's Anim Blueprint (using an Apply Additive node).

If you're not familiar with or don't have access to Maya or Max or whatever, you could still pose the fingers and switch between the poses using SkelControls in the Anim Blueprint. This method would be grungy and kinda tedious to set up as you would need to basically plug rotation values for the finger bones into the Skeletal Controls until you were happy with the hand pose you created. FYI, in the animation section of the Content Examples, there's an example of us using a skelControl to scale a character's head.

More info on those here: https://docs.unrealengine.com/latest/INT/Engine/Animation/NodeReference/SkeletalControls/index.html

Good luck, and let me know if anything wasn't clear.

more ▼

answered Mar 26 '14 at 10:09 PM

avatar image

Ray Arnett STAFF
1.4k 45 17 71

avatar image Rama Mar 26 '14 at 10:11 PM

Thank You

"This basically means having anim sequences with the character in it's default (t-pose) or idle pose with only the fingers posed."

Oh my you finally explained to me why my attempts at additive animations neve worked!

Thanks for the explanation!

I did not know it was all related to the base pose!


avatar image Ray Arnett STAFF Mar 26 '14 at 10:18 PM

Yep, and you can specify what the base pose is in the animSequence itself. Under Additive Settings -> Ref Pose Type. If you select 'ABPT_RefPose', that's basing the additive off of your character's t-pose. AnimFrame and AnimScaled allow you to select the animation to use as your base. So, in the above example, you could pose the fingers on top of a run animation as long as you pick that run animation as the ref pose/anim.

A handy feature in Persona (the anim viewer) is Show -> Additive Base. That will superimpose a skeleton with the additive base animation over the currently displayed animation.

avatar image Pseudocorpus Jun 14 '15 at 11:12 AM

The "additive hand poses" sounds good. But how would I set this up inside the anim graph?

(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