Talos docs

AnimatorComponent

Since 0.6Changed in 0.7
Plain text

Signature

export interface AnimatorComponent {
  type: "animator"
  asset: string
  states: AnimState[]
  initial: string
  parameters?: AnimParam[]
  events?: AnimEvent[]
  ik?: AnimIk[]
  pelvis?: AnimPelvis
  lookAt?: AnimLookAt
  retarget?: AnimRetarget
  /** Extra playback layers over the state machine: an upper-body action, an additive lean. */
  layers?: AnimLayer[]
  /** Joint to take root motion from instead of the rig root (a canonical name such as `Hips`, or the rig's own); see the contract. */
  rootMotionFrom?: string
  /** The rig's feet by joint name, 2 to 4 (`animator-feet-invalid`); absent, the engine picks them. See the contract. */
  feet?: string[]
}

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

Members

MemberSignatureDescription
typetype: "animator"
assetasset: string
statesstates: AnimState[]
initialinitial: string
parametersparameters?: AnimParam[]
eventsevents?: AnimEvent[]
ikik?: AnimIk[]
pelvispelvis?: AnimPelvis
lookAtlookAt?: AnimLookAt
retargetretarget?: AnimRetarget
layerslayers?: AnimLayer[]Extra playback layers over the state machine: an upper-body action, an additive lean.
rootMotionFromrootMotionFrom?: stringJoint to take root motion from instead of the rig root (a canonical name such as Hips, or the rig's own); see the contract.
feetfeet?: string[]The rig's feet by joint name, 2 to 4 (animator-feet-invalid); absent, the engine picks them. See the contract.