Animation · type

SpringAnchor

Where the mass is being pulled, as a pure function of time. Writes three floats into out.

Explained in Animation.

type SpringAnchor = (timeSec: number, out: Vec3Out) => void
import type { SpringAnchor } from '@driftengine/animation';