Class WalkGaitParameters.PelvisGroup

Namespace
CodeSmile.AnyMotion.AnimateYourself.Gait
/
Assembly
ApiSource.dll
[Serializable]
public sealed class WalkGaitParameters.PelvisGroup
Expand Details ...
Inheritance
object
WalkGaitParameters.PelvisGroup

Fields

Bob

[Tooltip("How far the hips rise and fall, as a fraction of hip height. This happens twice per cycle, once for each step.")]
[Range(0, 0.3)]
public float Bob

Field Value

float

BobPhaseOffset

[Tooltip("Shifts when the up-and-down hip movement happens relative to the footsteps. Use this if the hips reach their highest point at the wrong moment in the step.")]
[Range(0, 1)]
public float BobPhaseOffset

Field Value

float

FlightGravity

[Tooltip("How fast the character falls during the airborne part of a run, in metres per second squared. The default matches Earth gravity. Lower values give a longer, floatier hop between steps, for example for a low-gravity character. Only used when Flight Gravity Source is Authored.")]
[Range(0.1, 30)]
public float FlightGravity

Field Value

float

FlightGravitySource

[Tooltip("Where the falling speed for the airborne part of a run comes from — it is used once Duty Factor drops below 0.5 and both feet leave the ground at the same time. Authored uses the Flight Gravity value below and ignores your project's physics settings, so the same settings look the same in every project. Physics uses this character's Rigidbody if it has one, otherwise the project's own gravity setting.")]
public WalkGaitParameters.PelvisGroup.GravitySource FlightGravitySource

Field Value

WalkGaitParameters.PelvisGroup.GravitySource

HipsTwist

[Tooltip("How far the hips turn left and right, in degrees. They turn towards whichever leg is swinging forward.")]
[FormerlySerializedAs("Twist")]
[Range(0, 45)]
public float HipsTwist

Field Value

float

Pitch

[Tooltip("A constant forward tilt of the hips, in degrees. Positive tips the top of the pelvis forward.")]
[Range(-45, 45)]
public float Pitch

Field Value

float

Roll

[Tooltip("How far the hips tip sideways, in degrees. They drop on the side whose foot is off the ground.")]
[Range(0, 45)]
public float Roll

Field Value

float

Surge

[Tooltip("How far the hips move forwards and backwards, as a fraction of hip height. This happens twice per cycle.")]
[Range(0, 0.3)]
public float Surge

Field Value

float

Sway

[Tooltip("How far the hips shift from side to side, as a fraction of hip width. This happens once per cycle, moving the body's weight over whichever foot is on the ground.")]
[Range(0, 1)]
public float Sway

Field Value

float