Skip to content

Export Nodes SourceIOSfmConstraintNode

REDxEYE edited this page Nov 20, 2026 · 1 revision

SFM constraint

Adds an SFM constraint to the rig: a bone or rig control follows other bones/controls (point, orient, parent, aim), or a slider rotates it around an axis.

SFM constraint node

Category: SFM rig. Node ID: SourceIOSfmConstraintNode.

Inputs

None. Targets are typed as names, not linked.

Outputs

Socket Type Meaning
Constraint SFM constraint socket Link to Constraints on an SFM IK rig node.

Properties

Property Shown Meaning
Type always Point: follows the targets' position. Orient: follows their rotation (default). Parent: follows position and rotation as if parented. Aim: points at the targets. Rotation slider: a slider turns the constrained object around an axis.
Constrained always The bone or rig control (rig_...) that is constrained. A name that is a rig handle is used as the handle; otherwise it must be a bone of the model's armature.
Targets all types except slider Comma-separated bones or rig controls, each with an optional weight: rig_hand_R=0.5, rig_elbow_R=0.5. Weight defaults to 1.
Maintain offset all types except slider Keeps the constrained object where it is in the reference pose (default on).
Slider name Rotation slider Name of the slider (default rig_slider). Letters, digits and _ only.
Axis Rotation slider X, Y or Z.
Degrees Rotation slider Rotation over the whole slider range (default 90).
Default Rotation slider Slider position of the reference pose, 0…1 (default 0.5).
Control group Rotation slider Group of the slider. Blank uses RigExtra.

Example workflow

Make a twist bone follow the hand's rotation:

  1. Add a constraint node, Type Orient, Constrained forearm_twist, Targets rig_hand_R.
  2. Link Constraint to the rig's Constraints input.

Add an eyelid slider:

  1. Type Rotation slider, Constrained eyelid_upper_L, Slider name rig_lid_L, Axis X, Degrees -35, Default 0.
  2. Link it to the rig.

Caveats

  • Non-slider constraints need at least one target; each target weight must be a positive number; a non-numeric weight is reported ("target weight … is not a number").
  • Targets must be distinct and must differ from the constrained object.
  • Rotation sliders take no targets; their names must be unique across all rotation sliders and finger curl sliders.
  • A bone name that is not an existing rig handle must exist in the exported armature, otherwise validation fails.
  • Slider names, groups and bones are written into a generated script; control group names must not contain quotes, backslashes or line breaks.

Back to Export Nodes.

Clone this wiki locally