overlaySample

fun overlaySample(wantVelocity: Boolean, wantForce: Boolean): List<AgentVectorSample>(source)

Type-erased per-agent velocity/force samples for the animation overlay (G10). Computing the members here (typed A) avoids leaking the generic to the (non-generic) sampler. NaN marks an uncaptured component.