Support SFMLab on Patreon

Constraint Helper v1.1


helps create a script for multiple Constraints on one or two models

Important notes

  1. if you Constrain a parent bone to a child bone sfm will crash if you try to select either of them

  2. if you Constrain a target slave pair in reverse again i.e a-->b, then b-->a sfm will crash if you try to select either of them

  3. if you need to use the above Constrains then parent the slave to a different bone and use that to control the Constrain.

  4. if you need to remove the Constrains just right click the animset go to the bottom where it says Constrains then remove Constrains

  5. if you want use this as a puppet script then match all the main bones from both models and have the Constrains be Orientations.the pelvis bones needs two Constrains Orientation and Point.

Constrain types

  1. Aim constraint: makes the slave's rotation follow the target.

  2. Orientation constraint:constrains the orientation of the slaveDag to the orientation of the target.

  3. Parent constraint: makes the slaveDag behave as if it were a child of the target DAG.

  4. Point constraint: constrains the position of the slaveDag to the position of the target.


silly question but are there any examples for where constraints would be useful?

panzerfaust posted 2 years, 9 months ago


@panzerfaust, straight pistons, like on robots, having a models head lock on a moving object or something like that.

msu355 posted 2 years, 9 months ago


Looking at the preview, I cannot see how the script allows us to choose dags from different models. I mean, in listbox there are names of dags, right? Can you put a simple instruction on how to actually use your script in a simple example of two bodies, please? The thing looks useful and more or less universal.

Rayko posted 2 years, 9 months ago


@Rayko, sorry but this script only supports a single model right now. in a future update ill add multi model

msu355 posted 2 years, 9 months ago


Where exactly do you put the py file(what folder?)

Norimods posted 2 years, 8 months ago


@Norimods, the same folder where you place the rig scripts, "SourceFilmmaker\game\platform\scripts\sfm\animset"

msu355 posted 2 years, 8 months ago



Norimods posted 2 years, 8 months ago


What does the Script exactly do???

futanariafan posted 2 years, 1 month ago

@panzerfaust I used to copy animations using constraints, using this might be faster i guess.

Anon156 posted 1 year, 11 months ago

Leave a reply

You need to be logged in to leave a comment.

Support SFMLab on Patreon