Talos docs

AnimPelvis

Since 0.6

Lower the hips so a foot out of reach can still be planted.

Plain text

Signature

export interface AnimPelvis {
  /** The bone to lower: the hips, the one both leg chains hang from. */
  bone: string
  /** Metres: the furthest the pelvis may be lowered. */
  maxDrop: number
  /** Seconds: the time constant of the exponential the drop eases along. Default 0.08. */
  smoothing?: number
}

Import: import type { AnimPelvis } from "@argus/gameplay"

Members

MemberSignatureDescription
bonebone: stringThe bone to lower: the hips, the one both leg chains hang from.
maxDropmaxDrop: numberMetres: the furthest the pelvis may be lowered.
smoothingsmoothing?: numberSeconds: the time constant of the exponential the drop eases along. Default 0.08.