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"

RecordAnimation may not record correct bone locations

Hey, Community!

I am trying to record animation, created in UE during the Game, using PhysX ragdoll mannequin and the PhysicsConstraint, which keeps the Mannequin hand in the air, fixing hand's location and rotation in the world. For recording, I use Console - RecordAnimation command. Already tried World/Local spaces - the result is the same:

The constrained bone's location it not fixed in the air, the values in Component space vary up to 1-2 cm for each axis, which results in dribbling, but not fixed-in-air hand...

On the attached GIF, the hand_r has to be constrained to world... I looked up the source code - the AnimationRecorder.cpp seems to use relative bone transforms for recording, but: it seems to use ONLY rotations - no locations. I proved it myselfalt text So the question: is it possible to record location offsets of bones to record the animation more accurate? P.S. I use AnimRecorder.FrameRate 30, 60 etc. - doesn't help.

Product Version: UE 4.12
Tags:
more ▼

asked Oct 13 '16 at 01:05 AM in Blueprint Scripting

avatar image

vassad2214
0 1 2

avatar image vassad2214 Oct 15 '16 at 03:32 PM

Yes.. every recorded animation sequence has NO LOCAL LOCATION OFFSETS - except Pelvis joint. But using physX, even with most aggressive projection tolerance and stiffness - the location offsets DO exist, up to 1cm, which is enough for the "fixed" in the world joint to damp. Is it possible to record the animation with the bone's relative locations, not only rotations? or it is FBX asset special condition?

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

1 answer: sort voted first

OK, i've solved it. I needed to compile UE from source and add logs to find out, that the translation offsets in local space are recorded correctly. EVEN if you export to FBX and import as new skeleton - it works correct.

SO, this bug is appliable only to the template UE4 Mannequin.

more ▼

answered Oct 18 '16 at 09:03 AM

avatar image

vassad2214
0 1 2

avatar image second_kato Dec 03 '18 at 11:41 AM

Hi I got same problem about physics constrained object to record, and wish to know the meaning of “add logs to find out”.

(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