Source Filmmaker

Source Filmmaker

Create IK Constraint script
142 Comments
ETheDestroyer Oct 23 @ 4:45pm 
yup all good thank you :steamthumbsup:
OMG Theres A Bear In My Oatmeal!  [author] Oct 23 @ 3:28pm 
ok i updated it check to see if its fixed.
ETheDestroyer Oct 23 @ 8:38am 
yes is says something aboud "TypeError: exceptions must be old-style classes or derived from BaseException, not str
Traceback (most recent call last):
File "<string>", line 136, in <module>
File "<string>", line 49, in BuildRig
File "e:\steamlibrary\steamapps\common\sourcefilmmaker\game\usermod\..\sdktools\python\global\lib\site-packages\sfm\sfmUtils.py", line 66, in FindFirstDag
raise errorString
TypeError: exceptions must be old-style classes or derived from BaseException, not str"
OMG Theres A Bear In My Oatmeal!  [author] Oct 22 @ 4:12pm 
does any error pop up in the console when you try to load the rig?
ETheDestroyer Oct 22 @ 4:58am 
hey amazing work but i have a slight issue where i already made a rig and edited bones and groups and everything made it real pretty and i clicked on the save ik rig but when i clicked the saved ik it doesnt work the ik rig doesnt load at all am i doing something wrong ?
Pyroman Aug 9 @ 5:55am 
@Slicky Rice move the model's knees forward each step then.
Slicky Rice Jun 28 @ 4:45pm 
Is there anyway to make legs less prone to looking like bird legs (backwards knees)? It's annoying to animate a walk cycle
InKnight "Venom" Inktoling Jun 18 @ 6:02pm 
If I don't want to use the ik on a specific bone, How can I remove it?
Rubus Cockburnianus Dec 29, 2024 @ 2:49pm 
theres no "Create IK Constraint" in the menu, ive tried on multiple bones
Diego_Brando Dec 6, 2024 @ 4:37pm 
DUDE YOU ARE A LIFE SAVER THANK YOU
vandal Aug 13, 2024 @ 11:12am 
when i add an ik rig, it's never straight, like the arrows are sideways a little bit
EliteTrailblazer328 Apr 16, 2024 @ 1:22pm 
it it possible to rig a tentace in sfm? im rigging this

https://steamcommunity.com/sharedfiles/filedetails/?id=2669865596&searchtext=oliver
Skrunky Apr 1, 2024 @ 8:29am 
this is actually really useful, makes me sad that Valve didn't think of adding this before. it saves so much time in animation
Dylan The Normal Mar 20, 2024 @ 11:34pm 
thank you for this🙏
CHUGUNATOR-3000 Feb 12, 2024 @ 9:22am 
_________
OMG Theres A Bear In My Oatmeal!  [author] Feb 8, 2024 @ 1:46pm 
you cant 3 is the limit in sfm
qr039 Feb 8, 2024 @ 9:46am 
how do i make it to handle more than 3 joints and if dont which script should i use?
gingerbread man Jan 18, 2024 @ 9:06pm 
I love this
Schlerpi Dec 18, 2023 @ 8:49pm 
hello, can you please make a script that replaces the "teeth" thing in the files for the humans with "VertexLitGeneric"? I can never seem to get vtf edit working so could you please make that a script?
OMG Theres A Bear In My Oatmeal!  [author] Aug 20, 2023 @ 9:54am 
@alina which model is it?
Alina Aug 20, 2023 @ 2:16am 
Hello. Thank you for the rig. I just can't seem to get the pelvis attached. I've watched the video a hundred times. I lowered the points from the knees. But it still doesn't work. My back doesn't move behind my pelvis. How do I solve this problem? Thank you
OMG Theres A Bear In My Oatmeal!  [author] Jun 25, 2023 @ 6:09am 
its the same for any rig right click animset -> rig-> remove all rigs
Fooze Jun 25, 2023 @ 12:07am 
how do i remove it?
Terraven(TerraXRaven) Jun 7, 2023 @ 12:45am 
That completely solved the issue. Thanks!
OMG Theres A Bear In My Oatmeal!  [author] Jun 6, 2023 @ 4:10pm 
use the "create_ik_constraint_set_offset" instead and play around with the axis values
Terraven(TerraXRaven) Jun 6, 2023 @ 5:36am 
How do you stop it from spinning the knee/elbows? It happens to quite a number of models i've used.
OMG Theres A Bear In My Oatmeal!  [author] May 11, 2023 @ 1:28pm 
this script only creates an ik rig on a 3 bone limb
JustSomeDog May 11, 2023 @ 8:52am 
how do I rig the pelvis and head? cause it keeps getting a error notification.
JoshB Apr 14, 2023 @ 9:02pm 
now how do I get rid of the RIG? does anyone know how to get rid of it :P
MR SCALEY Feb 28, 2023 @ 5:38pm 
doesn't work for me im right clicking said bone on the tab window and pressing dag only to see its not there in the mini side tab
Breaddudei Dec 20, 2022 @ 2:16am 
Ok
OMG Theres A Bear In My Oatmeal!  [author] Dec 19, 2022 @ 10:46am 
lock the rig bones to the root transform
Breaddudei Dec 19, 2022 @ 2:07am 
Whenever I make a rig and move the root transform it only moves the pelvis and head, along with the spine and neck, how do I fix this
HobbsTheCroc451 Sep 15, 2022 @ 9:01pm 
♥♥♥♥♥♥♥♥♥ it works

thank you for help me make IK bone

its now easier to animate my rigless models :laugh:
specimen 6 May 13, 2022 @ 12:26pm 
Does anybody know how to make a snake rig?
chasicles Apr 22, 2022 @ 10:39pm 
wait im dum, what this do exactly?
OMG Theres A Bear In My Oatmeal!  [author] Mar 19, 2022 @ 4:34pm 
make sure to remove all constraints on the bone before applying the script.
Uglychristmassweater (she/they) Mar 19, 2022 @ 3:24pm 
It doesn't seem to work properly if there's already a rig applied to the model. When I show hidden controls, expand "arms" and create an IK constraint for one of the hands, it doesn't give me any errors but the "lowerArm" and "hand" handles the script creates can't be moved (although they can be rotated just fine) I know this is a really niche issue, but I'm trying to understand how rig scripts work, so why does this happen?
denetko Mar 19, 2022 @ 11:29am 
really handy tool thank you!
DimIdiot Jan 31, 2022 @ 10:07am 
Oh and, is the bone popping out of existence intentional?
Like when CTR-ing in work mode
DimIdiot Jan 31, 2022 @ 10:06am 
Dont think author will see, But anyone know how the DAG for fingers works? baffles me
OMG Theres A Bear In My Oatmeal!  [author] Jan 26, 2022 @ 3:31pm 
just lock the rig bones to the root transform
naChsarTyhctilG Jan 26, 2022 @ 12:41pm 
Amazing script, but now i can't move the whoel thing with roottransform, could you help me fix that?
Rinder Crates Nov 5, 2021 @ 8:34am 
top 5 best scripts made in world,
top 1 :
The Pedigree Oct 30, 2021 @ 2:14am 
Never mind, I fixed it by setting the offset: x=1 y=-5 z=0
The Pedigree Oct 30, 2021 @ 2:00am 
When I apply the rig on the foot, the leg of the model becomes twisted. I can't fix it even if I rotate the calf of the model. Any fix on this?
Astro Oct 7, 2021 @ 11:21pm 
pog
Sharkboy439 Jul 2, 2021 @ 8:29pm 
Is this addon also broken for anyone else? Like it's not showing up anymore.
OMG Theres A Bear In My Oatmeal!  [author] Jun 14, 2021 @ 4:26pm 
that error only happens if the limb has less than 3 bones. IK in sfm can only work on 3 bone chains.
Bad Company Jun 14, 2021 @ 11:33am 
I tried offsetting and it's giving me error about a bone grandparent