Talos docs

AnimParam

Since 0.6
Plain text

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
namestringyes
valuenumberyesValue before anything writes one.
sourceAnimParamSourcenospeed, strafeX, strafeY, verticalSpeed, grounded, inputSpeed, inputStrafeX, inputStrafeY
dampnumbernoSeconds the parameter takes to follow what is written to it, by exponential smoothing: after damp seconds it has covered about 63% of a step, after three times that 95%. A stick pressed or let go is a step from 0 to full speed in one tick, and a blend tree on it would snap the pose from idle to run with it; 0.1 to 0.2 turns that snap into a blend. Applies to the engine's source and to ctx.animator.param alike; reads return the smoothed value. Absent or 0 follows at once. Finite and 0 or more (animator-damp-invalid).

See also