Root motion capsule

in this documentation https://docs.unrealengine.com/latest/INT/Engine/Animation/RootMotion/

it says “Why Capsule Separation is Bad” - where can I see the Capsule? My character imported and has a physics asset which has lots of small capsules. Is that the same thing?

The capsule the documentation is referring to is the collision capsule used as root element of a Pawn or Character. If there is one, it is shown in the ViewPort of your pawn or character’s blueprint.

Ok thanks I do not have a pawn, so I need to make on then?

That depends on what you are trying to achieve, but in general a Pawn or Character is your player and if you are creating an experience or game you probably need one.

Ok so i made a pawn with Capsule as root, added skeletal mesh and the anim blueprint (where ‘Root motion from everything is set’). The pawn exhibits foot sliding and the capsule is motionless. The documentation is a perfect lesson in ambiguity…

I want the animation to be viewed by a player but not to be a playable character.

You can do that still using a Character, just not possessed by the player. This is typically the case for an AI controlled character which doesn’t necessarily move. It can just sit there and play through some animations.

Ok set up the character, the capsule is still not moving.

also for anyone interested i wrote a short guide to making a root bone that translates and stays on the floor in Motionbuilder here [http://.com/SpacePlace/2016/09/28/how-to-get-root-motion-from-motionbuilder-to-unreal/][1]

[1]:

A Root Motion animation will not move the capsule, that is the problem described in the documentation. As the animation moves away from the local origin, the capsule stays behind.

Hi not sure what you mean -( this is where the wonderful ambiguity of the documentation comes in.) I mean root motion like described here:
https://docs.unrealengine.com/latest/INT/Engine/Animation/RootMotion/

Presumably all animations have a root, the root can be enabled or not. In my case it is enabled. I can see the root bone in motion builder moving under the hips. It is not locked to 0,0,0. In the anim editor i can see the red line disappear etc when i enable it, the animation then plays in place. Despite setting up like the doc above and settting up a character my capsule doesnt move.

i also set the character up like this https://answers.unrealengine.com/questions/526157/root-motion-issue-the-master-solution-checklist.html

documentation where please?

posting here in case it helps anyone:
In your Animation blueprint you need to check that under Anim Preview Editor, the Edit Defaults are selected and the RootMotion From Everything is selected. If not it seems to stop root motion from working. The default setting is Edit Preview which foxed me for a while. looks like this

https://i2.wp.com/.com/SpacePlace/wp-content/uploads/2016/09/rootAnimBlueprint.png?w=547

This means that the capsule will move with correct root motion - but in the preview windows etc it shows the hips stuck to the spot.

1 Like