defineIdleMotion
defineIdleMotion(
options):IdleMotionHandle
Declares an idle motion at module scope, so the <IdleMotion motion>
that draws it and a character whose base rides it name one handle,
as a defineTrait names a trait. Throws on a value the map’s schema
refuses, naming it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
Readonly<{ height?: number; kind: Float; periodSeconds?: number; pitchRadians?: number; pivot?: readonly number[]; rollRadians?: number; seed?: number; waves?: boolean; }> | Readonly<{ angleRadians?: number; axis?: readonly number[]; kind: Sway; periodSeconds?: number; pivot?: readonly number[]; seed?: number; }> |