The Dark Room

  • Archive
  • RSS
  • Ask me anything

Some Constraint Tutorials

meklab:

Remember that SFM is an awful program and if you want to really get into animation, you should use something better like blender, c4d, 3dsmax, maya, etc.

That being said, constraints are a nice way to make SFM just a little less garbage and might convince you to postpone switching to something better if you’re an imbecile like I am.

Aim Constraint Basics

image

This is how you apply an aim constraint. Left-click on the parent bone first, then left-click on the child bone. The child bone will rotate to face the parent bone.

image

This is how it looks in practice.

You might notice that when you apply this constraint, a new DAG appears in the list. This is a slider that affects the weight of the constraint, on a scale of 0-100%.

image

Here, I’ve applied an additional aim constraint to the templar’s neck and 3 spine bones, and adjusted the weights to produce this:

image

You can see that the bones with lower slider values don’t rotate as much to follow the bone they’re constrained to.


Aim Constraints for Eye Movement

image
image

Aim constraints can be used to create a viewtarget for non-qc eyes, which makes moving them around a whole lot easier compared to manually positioning them.

This isn’t any different than what I showed above, but you might have to manually position the eyes’ initial position so they’re looking directly at the viewtarget before you apply the constraint.


Parent Constraints for Impromptu Shapekeys

image

Parent constraints are basically locks that can be toggled on & off. By applying a parent constraint to a bone, moving it, and then messing with the weight slider, you can basically create a shapekey from scratch.

This is pretty useful for eyelids and eyebrows, since SFM tends to have trouble interpolating very small position adjustments between keyframes, but has no problem interpolating different slider values.


Using Inheritence to Bypass Aim Constraint Limitations

image

Normally, objects that are under an aim constraint cannot be rotated. There’s a way around this, and it has to do with how objects inherit motion from whatever they’re locked to.

image

Here’s a quick hierarchy of bones on a regular biped in sfm. If you move the neck, the head moves as well. You move spine2, it moves the neck and head as well, and so on.

image

(empty.mdl is what I use for this. It’s essentially just an invisible model with one bone. You can use whatever you like as long as you hide it afterwards.)

Place a new model at the exact same position as the head. Lock the head to this new model, then lock the new model to the neck, creating the hierarchy above.

image

By applying the aim constraint to this intermediary bone instead of the head, and having the head inherit its (constraint-based) movement through a lock, you;’re able to bypass this limitation of aim constraints, allowing you to both rotate the head and have it track something as if it were constrained.

(via chronophantasma-sfm)

Source: meklab

  • 1 week ago > meklab
  • 670
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

670 Notes/ Hide

  1. kyzobcm liked this
  2. icollectr-blog liked this
  3. yuriuke liked this
  4. summon-daze reblogged this from marcov4
  5. summon-daze liked this
  6. jak007 liked this
  7. hotsauce1v1 liked this
  8. carmenrutledge liked this
  9. ohmygetlewd liked this
  10. sunbro41 liked this
  11. triggerman0 liked this
  12. aroundsfm liked this
  13. zekexe liked this
  14. xxspectern7xx liked this
  15. drendari liked this
  16. kuzu-me liked this
  17. thetowerofzireael reblogged this from qwertsfm
  18. qwertsfm reblogged this from meklab
  19. qwertsfm liked this
  20. dirtymansfm liked this
  21. starcraft2gamer liked this
  22. tsingloong liked this
  23. aawss2016 liked this
  24. swoopingcunce liked this
  25. maiden-in-black-x-plain-doll liked this
  26. sweetbase liked this
  27. bromaister01 liked this
  28. dude017 liked this
  29. pigeon-leader liked this
  30. bruvstar5000 liked this
  31. bdjxvvxhwiqkbdhj53 liked this
  32. radudarkus liked this
  33. kingdwas reblogged this from empathetic-one
  34. tnlxshadows liked this
  35. chantellworks liked this
  36. swiftaticore liked this
  37. black-dragon-7229 liked this
  38. junko-sm liked this
  39. a-nightstalker liked this
  40. nobody-is-here-ok liked this
  41. zam3757 liked this
  42. theonlycookie liked this
  43. kreamu liked this
  44. lewdelve liked this
  45. nessfm liked this
  46. 1m4gin4ry-writer-guy reblogged this from meklab
  47. kingdwas liked this
  48. sweet-thrills reblogged this from meklab
  49. sweet-thrills liked this
  50. xdjins reblogged this from jintsurikisfm
  51. Show more notesLoading...
← Previous • Next →
HTML tutorial

About

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile
Effector Theme by Pixel Union