Skip to content

@modoki/engine / index / autoRig2D

Function: autoRig2D()

autoRig2D(opts): Rig2DFile

One-call auto-rig from just a sprite: suggest a default bone chain along the principal axis, then tessellate + auto-weight. The editor's "Auto-rig" button entry — the user can then drag/add/remove the suggested bones.

Parameters

opts

AutoRig2DOptions

Returns

Rig2DFile

Built with Modoki.