Skip to content

@modoki/engine / index / AutoWeightOptions

Interface: AutoWeightOptions

Skinning

falloff?

optional falloff?: number

Influence falloff exponent on distance (default 2). Higher = tighter/more rigid, lower = softer/broader blends. With radius it shapes the bounded curve (1 - d/radius)^falloff; without it, the legacy inverse-distance 1/d^falloff.


maxInfluences?

optional maxInfluences?: number

Max influences per vertex (1..4, default 4).


radius?

optional radius?: number

Bounded influence radius (texture units): a bone contributes 0 past this distance from its joint, giving localized, clean deformation. Omitted/≤0 → unbounded inverse-distance (legacy). Verts beyond EVERY bone's radius fall back to the nearest bone.

Built with Modoki.