Source Filmmaker

Source Filmmaker

33 ratings
Create IK Constraint script
 
Rate  
Favorite
Favorited
Unfavorite
Universe: Original IP
Script
Tags: Sfm
File Size
Posted
Updated
0.018 MB
Dec 21, 2016 @ 9:45pm
Feb 24 @ 8:40pm
2 Change Notes ( view )

Subscribe to download
Create IK Constraint script

Subscribed
Unsubscribe
Description
A very quick way to create ik for limbs. works similar to the ik in SFM 2.

How to use

  1. right click bone you want to target i.e hand/foot
  2. go to dag utilities menu
  3. click Create IK Constraint and thats it.

it will add the rig control for the target in the same group as the bone and move the Constraint bones to a hidden group

update ver 1.1
-added two new script files:
1) move_to_orginal group- after detaching IK rigs use this to send the dag back to the original group
2) save_ik_constraint_rig.py- saves all ik constraints made into a single rig script







special thanks to http://steamcommunity.com/id/Edtion who gave me the idea.

feel free to modify the script for your own use
if you find any bugs or have suggestions message me in the comments below.

Includes:
sfm\dag\exact\count1\create_ik_constraint.py
sfm\dag\exact\count1\move_to_orginal group.py
sfm\dag\multi\move_to_orginal group.py
sfm\animset\save_ik_constraint_rig.py
< >
34 Comments
OMG Theres A Bear In My Oatmeal!  [author] Feb 26 @ 6:32am 
@daimando, after applying multiple ik constraints, use save_ik_constraint_rig.py to save the constraints to a rig script file.
daimando Feb 25 @ 8:50pm 
How does Saving the IK Constraint work?
OMG Theres A Bear In My Oatmeal!  [author] Feb 25 @ 7:11am 
@TwiChill , move_to_orginal group" just sends the bones, after its been unriged, under the constraint group back to their orginal groups.
TwiChill Feb 25 @ 6:11am 
@OMG Theres A Bear In My Oatmeal! i thought maybe it`s function like a switch of IK/FK. i mean when i after click "create_ik_constraint" the rig is showed,next click "move_to_orginal group".but IK is still there.
OMG Theres A Bear In My Oatmeal!  [author] Feb 25 @ 5:46am 
@TwiChill , that only works after you unrig it.
TwiChill Feb 25 @ 4:48am 
I can create ik for limbs,but why that "move_to_orginal group" is not work? it still have the rig ...
AlphaBlyat™ | AlphaWolv© Feb 25 @ 3:26am 
what does this rig do?
Edtion Jan 2 @ 6:33pm 
By digitigrade, are you talking about quadripeds?
SFM IK is limited to 3 bones. unless your IK requires more than 3 bones (like a worm or tail) then the IK can work. The IK isn't as robust as other programs but it works well enough if you know where to set it.
keluvan Jan 1 @ 6:34pm 
Aw... thanks anyway.
OMG Theres A Bear In My Oatmeal!  [author] Jan 1 @ 6:27pm 
@keluvan, no it does'nt. sfm cant do full digitigrade limbs.