Maya Script: Jiggle Controls Generator (Python)
Version: should work with any version of Maya (including Python3)
Introduction
If you're looking for fake muscle movement or fat jiggling or skin sliding (you name it) or bat/ dragon membrane setup. This is the tool for you.
Tutorial: https://youtu.be/8eS3u2jPUeY
Tutorial (v003): https://youtu.be/UmPvdsM4veg
Tutorial (v004): https://youtu.be/YAhMACs9XBU
Testing: https://youtu.be/8Hc-rXlPeLs
Please make sure:
- Generate jiggle control by select vertices on the ORIGINAL models.
- And paint jiggle skin weight on the JIGGLE BLENDSHAPE mesh (not the original model).
You can open Outliner to make sure what's appearing on the viewport while doing the jiggle generator.
Limitation
It does require some painting skin weight though. Also, I have no solution to bring this setup to game engine yet. Please message if you can help me.
Support
The script should work on any rig, inbox me if you have rigs that doesn't work.
https://www.facebook.com/truongcgartist
TruongCgArtist@gmail.com or cvbtruong@gmail.com
Frequently Asked Questions
The error happen when I hit "Create Mirror/Middle Jiggle"?
The first error is that you are selecting vertice(s) on JiggleBlendshape body mesh, then hit "Create Mirror/Middle Jiggle".
>> You should select vertice(s) on the main/original body mesh (not the one with "JiggleBlendshape")
>> The mesh with "_JiggleBlendshape" is for Painting Skinweight only
Why I cannot paint skin weight on "JiggleBlendshape" mesh?
Please take a look at the painting skin window, there is a (yellow) lock next to jg[number]_jiggle_jnt_L etc, you just need to hit the lock button to open it before painting. Why? If I set the lock to open already, every time you hit "Create Mirror/Middle Jiggle", the existing skinning will be messed up.
Why I cannot mirror the skin weight on "JiggleBlendshape" mesh?
About mirror skinning, if you just hit "Create Mirror/Middle Jiggle '', the names of controls and joints are randomly created. To solve the problem, you can set Mirror Skin options to closed Bones/ joints to mirror skins (hopefully it will work). Or you can set the name at "Name of the control?" (in the tool window) every time before hitting the "Create Mirror/Middle Jiggle". Then it can mirror fine.
Updates
v002: fix jiggle controls not follow main mesh with Advanced Skeleton rigs.
08/05/2020: If you see "unicode object is not callable" warning then start Maya fresh again then run the script. I'm finding the cause of this bug.
12/05/2020: If "Create Mirror Jiggle" is not working, this is probably that your model has overlapping uv. Follicles work based on uv which is why this happens. Maybe you can change uv then copy uv back to your skinned mesh using this script gum.co/copyUvSkinnedMesh
Cheers,
Truong
Sign up for more news from Truong: https://gumroad.com/truongcgartist
Support Truong making products: https://www.patreon.com/truongcgartist