Looking forward to it!
Looking forward to trying this out to and hopefully create something fun
Sounds fun! Might use this time to finally learn Ragdoll
First need to get all this work out of the way. Looking forward to this!
We’ll be doing a livestream in 3 hours where Jason will cover the competition and I’ll walk through the new Locomotion feature.
It will be recorded, so if we don’t see you there today, we’ll see you there whenever you see this message.
Here it is, the crab!
- Download →
Have a look at the livestream above along with these new videos below for how to use it effectively.
A very simple, FK-only rig (that can also be scaled!)
Reset all controllers to their default value by setting all translate and rotate values to 0.
Controls can be overlaid on-top of the mesh via the x-ray mode.
Unhide the solver and show
Plugin Shapes to see the simulation.
Recording works as you’d expect, animation ends up on each individual FK control.
The havoc happening during the livestream was due to the new
Closed Loopoption in the Record dialog, so ensure to untick that when recording the crab. It doesn’t have any loops anyway.
Since the rig is FK-only, you can apply locomotion to pins instead.
- Select body
- Select each foot
- Ragdoll → Constrain → Pin
- Ragdoll → Assign Plan
A licence server and install instructions coming up next!
Here’s how to get started with your creation.
Download and Install Ragdoll Dynamics, if you haven’t already.
Copy/paste and run this script in your Script Editor, in a Python tab.
import os from maya import cmds from ragdoll import ui as rui, interactive as ri text = """\ Start a new scene and activate Ragdoll Unlimited \ for the July July 2022 Competition? """ if rui.MessageBox("Activate Competition Licence", text): os.environ["RAGDOLL_FLOATING"] = "july.ragdolldynamics.com:8003" cmds.file(new=True, force=True) cmds.unloadPlugin("ragdoll") assert not cmds.pluginInfo("ragdoll", query=True, loaded=True), ( "Had trouble reloading Ragdoll, try restarting " "Maya and running this script again" ) cmds.loadPlugin("ragdoll") ri.welcome_user() else: cmds.warning("Cancelled, nothing changed")
Your Maya will now have a fully loaded Ragdoll licence until you restart Maya.
Start making something, and create your own thread in the new Competition category.
I’ve made a little example contribution to illustrate how to get started.
For any questions, feel free to post here or start a new thread under the Help Category.
Enjoy, and let’s go!
when I enter the competition code, it says
“// Warning: Ragdoll: Could not get a lease, see console for details”
// ragdoll.on_floating() - Ragdoll is floating
a pop up opens saying “request lease” / “continue”
then when I press “request” it says in messages “failed to acquire a lease” and all my markers disappear
is there something I can do to fix that?
Hm, is your machine connected to the internet? That is a requirement, as the licence server is online.
Hi all, hope all is going well with the competition so far!
We’ve updated the crab asset above with some minor tweaks. Use the same download link.
- Procedural texture for some extra flare
- Fixed scaling of one of the leg pieces
- Refined the constraints keeping legs attached to the body
Giving this thread some spotlight in case anyone else experiences the 100 frame limit even after running the above getting started script.
Pushing another update to the crab rig with 3 changes, see the same link above.
- Much stronger stiffness, at lower values
- More more effective Pin Constraint at tips, for e.g. Locomotion
- Less groups
For stiffness, check this out!
Super strong. These are stiffness values between 0.01 → 1.0. (No more values approaching 100,000 and beyond)
For pins, you should also find that values less than 100 to be a reasonable max for a very hard pin, as opposed to 100,000 and beyond).
Also rearranged the groups for a little less complexity; you can now edit all feet from a single group (as opposed to 1 group per foot, 8 in total).
For your own reference, here are some notes on how these things were made possible.
In both feet and tips, it was a problem of mass. The tips are especially damning, as they are tiny tiny tiny. Ragdoll would treat these as any other part of the crab, and compute a mass relative its size. Because it is so small, it would get a very small mass.
You might wonder what mass has got to do with anything. We aren’t interested in them weighing down on the foot, and it doesn’t seem related to stiffness? But! Such is life. Ragdoll is all about forces, and any force is relative the mass upon which it acts. Between the tip and the last joint of the crab foot is a force keeping them together, and when one of them is heavy and the other light, the more complicated it gets for Ragdoll to keep them together, hence values that reach into the thousands.
For the legs, I took a slightly different route. I didn’t want the feet to appear more heavy - especially not heavier than the body. So instead editing its mass, it now has a slightly edited
This attribute is mostly unexplored, so I’m curious what you think of this and whether you run into anything odd. Things to look out for is any strangeness in the rotation of any part of a leg. As if it’s resisting rotation, almost like
Air Density on the solver.
Are there textures for the crab?
Just A ramp texture nothing custom. you’re welcome to texture or develop the crab further if you like.
Linking some more issues to here in case they happen to someone else.
- Licence issue - #4 by marcus (Plug-in unload issue)
- Could not connect to license server - #5 by williamB (Windows Firewall issue)
Just a heads up that next week is the final week of this challenge!
So far, we’ve got more prizes than submissions, so everyone who has participated is getting something. The only question is who gets the grand prize of
Ragdoll Unlimited and the also-great prize of
You can find all current submissions here:
new submission coming up this week ! finally had some time and head to come up with an idea !
stay tune !
Only a handful of days remaining (until Sunday!)
On top of that, we’re having trouble with the licence server… Will keep you updated here.
really waiting license, can’t work without it
I wasn’t able to narrow down what happened, it’s end of day on my end so here’s an alternative that will last you until the end of the competition.
Here’s how to use it.
- Restart Maya
- Do not run the original script, here.
- Instead, load the plug-in the normal way, via the Plug-in Manager
- Click the item at the bottom of the Ragdoll menu
- Enter the serial above
It will say “Trial Version”, but is fully unlimited. Let me know if there are any issues.