VNyan stretch bones
vnyan_stretchboneManage VNyan stretch bones: read persisted definitions or add a runtime stretch bone with clamp, scale, move, and blendshape settings to control avatar deformations.
Instructions
'list' (disk, always readable) reads the persisted stretch bones (settings.json 'StretchBones'). 'add' (plugin, live, write-only) adds one at runtime - there is no live read-back for these, only the persisted list. All clamp/scale/move/offset params are multipliers or local-space offsets on the stretch bone's transform, not absolute world positions. Any field you omit uses VNyanStretchBone's own default, listed on each param below.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Required for 'add' | |
| action | Yes | 'list' reads the persisted set (disk); 'add' creates one at runtime (plugin) | |
| maxClampX | No | Maximum scale clamp, X axis. Default 1 | |
| maxClampY | No | Maximum scale clamp, Y axis. Default 2 | |
| maxClampZ | No | Maximum scale clamp, Z axis. Default 1 | |
| minClampX | No | Minimum scale clamp, X axis. Default 0.5 | |
| minClampY | No | Minimum scale clamp, Y axis. Default 0.97 | |
| minClampZ | No | Minimum scale clamp, Z axis. Default 0.5 | |
| anchorName | No | Bone/object the stretch bone is anchored to. Default "" | |
| targetName | No | Bone/object this stretch bone follows. Default "" | |
| moveAmountX | No | How much stretch distance affects X position. Default 0.19 | |
| moveAmountY | No | How much stretch distance affects Y position. Default 0.03 | |
| moveAmountZ | No | How much stretch distance affects Z position. Default 0.16 | |
| moveOffsetX | No | Move offset X, local units. Default -1 | |
| moveOffsetY | No | Move offset Y, local units. Default -1 | |
| moveOffsetZ | No | Move offset Z, local units. Default -1 | |
| scaleAmountX | No | How much stretch distance affects X scale. Default 0.5 | |
| scaleAmountY | No | How much stretch distance affects Y scale. Default 1 | |
| scaleAmountZ | No | How much stretch distance affects Z scale. Default 1 | |
| targetOffsetX | No | Target offset X, local units. Default 0 | |
| targetOffsetY | No | Target offset Y, local units. Default 0 | |
| targetOffsetZ | No | Target offset Z, local units. Default 0 | |
| blendshapeAxis | No | Which axis of motion drives the blendshape (0=X, 1=Y, 2=Z). Default 0 | |
| blendshapeName | No | Optional blendshape to drive from this stretch bone's motion instead of/alongside the transform. Default "" (unused) | |
| offsetRotationX | No | Rotation offset X, degrees. Default 0 | |
| offsetRotationY | No | Rotation offset Y, degrees. Default 0 | |
| offsetRotationZ | No | Rotation offset Z, degrees. Default 0 | |
| stretchBoneName | No | The actual bone being stretched. Default "" | |
| blendshapeInvert | No | Invert the blendshape-driving axis. Default false | |
| blendshapeMultiplier | No | Multiplier applied to the blendshape-driving value. Default 1 |