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"

Root Motion not moving character

Hi,

I've looked through several topics, but none could help me with this:

  • I have a simple skeletal mesh (exported from Blender 2.78, via FBX version 7.4 binary).

  • Said mesh has a simple animation moving the root bone (forward movement along the y axis).

  • I imported both into UE4.12, opened the animation asset and enabled Root Motion.

  • The mesh animates in place, so the root motion is recognized I guess.

  • With the animation asset I then created a montage on a custom slot.

  • I created an animation blueprint, with only said custom slot feeding the final pose. The animation Blueprint is also getting Root Motion from Montages only (though switching to "Everything" doesn't change the outcome)

  • I call the animation blueprint (via event) from a character blueprint (with assigned mesh/animation BP) to play the montage every 1.5 seconds.

So far so good, HOWEVER: When I start the game, the montage plays, but the character doesn't move. I'm really not sure what could cause this problem. I hope someone can help me with this.

Product Version: UE 4.12
Tags:
more ▼

asked Jan 16 '17 at 12:49 AM in Using UE4

avatar image

MaxHeap
11 4 3 5

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

2 answers: sort voted first

Actually got it working now. Turns out I got a warning on the skeletal mesh import:

"Warning The bone size is too small to create Physics Asset from Skeletal Mesh . You will have to create physics asset manually"

And apparently if your bones are too small for physics assets, they are also too small for root motion. Anyway, this whole thing is an issue with Blender's FBX export. You gotta rescale your mesh/armature according to the steps in this problem description:

https://developer.blender.org/T47043#366967

After that the warning should be gone Root Motion should (also) work out fine.

more ▼

answered Jan 16 '17 at 06:49 PM

avatar image

MaxHeap
11 4 3 5

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

Blender adds object to bones as root. So root bone become a second bone.

Edit exporter of Blender.

Blender/addons/export_fbx_bin.py

Line 2477 connections.append((b"OO", get_fbx_uuid_from_key(empty_key), ob_obj.fbx_uuid, None))

This code causes this problem. Delete or comment out it

more ▼

answered Feb 25 '17 at 03:07 PM

avatar image

0000
63 2 5 8

(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