Source Filmmaker

Source Filmmaker

45 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
Apr 17 @ 4:50pm
5 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 a single IK rig, 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\move_to_orginal group.py
sfm\dag\exact\count1\create_ik_constraint.py
sfm\dag\multi\move_to_orginal group.py
sfm\animset\save_ik_constraint_rig.py
< >
38 Comments
ConfederateJoe Jul 14 @ 9:30pm 
You're pretty awesome, your scripts are the best.
OMG Theres A Bear In My Oatmeal!  [author] Mar 19 @ 7:08pm 
@Keller Max, no it cant be done in sfm.
Keller Max Mar 19 @ 6:16pm 
Is it possible to make a rig for two bones only?
Example: Head and Neck.
TwiChill Mar 5 @ 2:34am 
@OMG Theres A Bear In My Oatmeal! it get little hard to understanding.now i have known...thank u!
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 ...