Garry's Mod

Garry's Mod

1,536 ratings
Ragdoll Puppeteer
8
3
7
10
2
6
4
2
2
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Movie
File Size
Posted
Updated
284.003 KB
Sep 19, 2024 @ 10:03am
Jul 29 @ 6:24pm
23 Change Notes ( view )

Subscribe to download
Ragdoll Puppeteer

Description
Need a tool to quickly set poses for you? Use the Ragdoll Puppeteer!

This addon adds a tool which allows you to set the pose of a ragdoll or prop to frame of any animation. You can find it under the Posing category.

Everything is done through the tool itself; to set the pose for the ragdoll/prop, simply left-click the ragdoll/prop with the tool, and a list of animations will show up for you to use. The tool supports sequences and Stop Motion Helper animations.

Note
If your ragdoll does not match the puppeteer, try the following:
  • Find a physics addon that adds more physics colliders to the bones. For TF2, I recommend Another TF2 Physics Override. I'd use this approach if I want less setup (as opposed to the next point).
  • Use the Ragdoll Stretch and Ragdoll Weight tools. I'd try this approach if I cannot find an addon that overrides the physics colliders.
For more info on other issues, I suggest reading the F.A.Q. to troubleshoot before making a bug report or discussion post. I also suggest watching the videos if possible to understand how this all works. There is a Youtube playlist on the right-hand side of this page, above my name in the Links tab

Use Cases
I made this tool as a companion tool for GMod animators who do keyframe animations; hopefully, this tool will accelerate your animation workflow. If you're interested, here are two ways on how you could use this tool:
  • "Bake" a sequence onto Stop Motion Helper (SMH) using +ragdollpuppeteer_playback and the SMH physics recorder. You can also use the Ragdoll Mover (RGM) or other posing tools to make a new animation from the existing one. For example, you can either use a premade running animation, or animate your own using SMH. With the animation, use SMH to outline a base trajectory for the ragdoll and use RGM to make adjustments to the pose on each frame.
  • Initially puppeteer a ragdoll to an animation frame, and then make additional adjustments using the RGM. For instance, you can first set the Heavy to his primary weapon sequence, and then adjust his hands to hold a different weapon. You can also use a pose saved from a SMH animation.
To add on the first point, if you have a walking animation that moves a character forward (root motion animations), you can automate the movement by simply playing the animation through ragdoll puppeteer, and setting the frames in SMH, and moving the puppeteer to update the origin of the walking animation. You can also animate the puppeteer's position using SMH, allowing you to quickly make walk sequences using the SMH Physics Recorder!


Console Commands and Variables
The list of commands here are not comprehensive. If you want to see all the commands, type "ragdollpuppeteer" in the console and view the options.
  • [ragdollpuppeteer_previousframe n] & ragdollpuppeteer_nextframe n: decrements (or increments) the ragdollpuppeteer_frame console variable by n frames, where n is a whole number (no decimal numbers). Updates the puppet's position.
  • [ragdollpuppeteer_animatenonphys]: This will move the ragdoll's nonphysical bones (fingers, toes), which is anything that doesn't have a physics collider. It has the same behavior as checking the 'Animate Nonphysical Bones' checkbox.
  • [ragdollpuppeteer_frame]: A console variable representing the ragdoll's frame. This is an alternate way to change the puppeteer's frame. The control panel needs to be open for the puppeteer to change frame.
  • [sv_ragdollpuppeteer_allow_playback]: If enabled, players can run "+ragdollpuppeteer_playback" at the cost of server stress due to the pose data.
  • [+ragdollpuppeteer_playback] & [-ragdollpuppeteer_playback]: Moves the frame slider automatically. Useful for utilities such as Stop Motion Helper's physics recorder tool. Enabled only if "sv_ragdollpuppeteer_allow_playback 1".
  • [ragdollpuppeteer_fps]: The framerate to play in if +ragdollpuppeteer_playback is called. Changing this during playback will also affect the playback framerate live.

Source Code[github.com]

Do you wish to translate this tool to your language[wiki.facepunch.com]? Click on the source code link above and send me a push request! View the English translations here[github.com]. For an example translation, view the French translations.[github.com]

Disclaimer
This tool has no competing conflicts of interest with Animated Props and similar tools in mind. I developed this tool with partial inspiration by the ragdollize feature in Animated Props and the Stand Poser. I hope that I inspire another improved version of this tool in Animated Props or some other tool.

It is recommended to run this tool in singleplayer. Multiplayer is supported, but expect bugs and server lag.

Feel free to use this addon in your artwork or videos without attribution, although I highly appreciate it if you do.
Popular Discussions View All (12)
53
Sep 21 @ 9:01am
PINNED: Bug Reports
dim sum un
43
Dec 13, 2024 @ 4:12am
PINNED: Feature Requests
dim sum un
9
Oct 18, 2024 @ 5:33am
"Snap to the ground" checkbox request
Areus
199 Comments
mini freeman Sep 10 @ 1:29pm 
thanks
dim sum un  [author] Sep 9 @ 4:29pm 
Find the “Show puppeteer” option in the settings section in the tool’s c menu, and uncheck it to hide the puppeteer (the blue outline)
Pyromaniacz Sep 9 @ 1:03pm 
Are you able to get rid of the blue outline?
zero λrx Sep 4 @ 5:57am 
this is some witchcraft shit dude. awesome job:melon:
mini freeman Aug 14 @ 1:45pm 
@dim sum un
i see blurred the section of the timelines
dim sum un  [author] Aug 13 @ 5:06pm 
Are you referring to the ragdoll? If the play button is still pressed in this tool’s C menu, then the ragdoll will always follow the movement of the puppeteer: they can’t be moved until you stop the animation
If you’re trying to move the puppeteer (the blue ghost) itself then you need to use the physgun on the platform below it. This will also move the ragdoll around and follow the puppeteer, if the play button is still clicked
Please let me know more about the problem if these did not solve it for you
Bad Boy Aug 12 @ 8:14pm 
I need help with walking charcters it wouldnt allow me to move them
dim sum un  [author] Aug 5 @ 7:55am 
@mini freeman
(Blurred could mean the game is played at a low resolution, but correct me if that's wrong)
Frame selection as in the slider on one of the timelines? If you're referring to that, my guess is that the frame selection might be beyond the limits of the timeline: you can get it back by just simply clicking on the timeline
Please show me an image of what you're seeing (or describe it if that's not possible), so I can further look into it
mini freeman Aug 4 @ 2:26pm 
why i cant see the frame selection (i see the frame selection very blurred)
te amo May 31 @ 3:28pm 
God came down from heaven and decided to create this addon for gmod