unreal.PelvisHeightMode

class unreal.PelvisHeightMode

Bases: EnumBase

EPelvis Height Mode

C++ Source:

  • Plugin: AnimationWarping

  • Module: AnimationWarpingRuntime

  • File: AnimNode_FootPlacement.h

ALL_LEGS: PelvisHeightMode

Consider all legs for pelvis height, whether they’re planted or not Generally good for flat/not too steep ground

Type:

0

ALL_PLANTED_FEET: PelvisHeightMode

Consider only the planted feet when calculating pelvis height Generally good we pelvis height to be defined by the weight supporting leg

Type:

1

FRONT_PLANTED_FEET_UPHILL_FRONT_FEET_DOWNHILL: PelvisHeightMode

When moving uphill, use the front foot, as long as it’s planted. It’s recommended to also enable pelvis interpolation to smooth out the swap between what’s considered the “planted” leg When moving downhill, both feet will be considered relevant. The algorithm tends to prefer the lower foot, except when the higher foot would become over-compresseed.

Type:

2