Talos docs

AnimLookAt

Since 0.6

A head-and-spine aim.

Plain text

The bones share the turn and are one path down the skeleton.

Signature

export interface AnimLookAt {
  bones: string[]
  target?: Vec3
  limits: AnimLookAtLimits
  weight: number
  /** Seconds: the time constant of the exponential the aim eases along. */
  smoothing: number
}

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

Members

MemberSignatureDescription
bonesbones: string[]
targettarget?: Vec3
limitslimits: AnimLookAtLimits
weightweight: number
smoothingsmoothing: numberSeconds: the time constant of the exponential the aim eases along.