Character Requirements - DrowningDragons/MoveIt-Wiki GitHub Wiki
Foreword
Nothing here is obvious to advanced users. Please read it.
This is the required knowledge to use MoveIt!
Examples are always shown in Blueprint but are of course fully accessible with C++
Input
AddMovementInput
is forbidden in MoveIt!
It does not record inputs the way MoveIt! requires. Many movement features wont work and neither will animations.
Instead, use AddForwardMovementInput
and AddRightMovementInput
- they require no special use, just use them the same way you would use AddMovementInput
.
If you are adding flying or swimming to your game you may still wish to use AddMovementInput
for the Z axis.
This is the recommended input setup for MoveIt:
Character Mesh RelativeLocation.Z
For the Foot IK to work correctly the mesh needs to be placed at a mathematically correct Z relative location. The construction script in BP_MoveItCharacterDemo has this setup for you, just hook it up and hit compile and look at your screen messages (or output log).
The formula is -CapsuleHalfHeight - 2.4
(this is because CMC keeps the capsule 2.4 units off the ground)
So a capsule half height of 72.0 requires -74.4 RelativeLocation.Z