Active Ragdoll Prefab for Unity
Important! In order for this to work you will need to create a new layer. Then go to Edit -> project settings and click on the physics tab. Scroll down until you see the layer collision matrix and make sure the box where your new layer meets itself is unchecked. Assign all body parts of the model ( everything but the root and animmodel) to this new layer. Do not do this for the enemy model, if you do, make sure to create a new layer and do the same thing or else the player wont collide with the enemy
What is this asset?
TL;DR
- A drag and drop active ragdoll package for unity.
- A ready to use, Gang Beasts style ragdoll and dummy ragdoll
- Several utility scripts including a slow-mo knockout effect and an add force on click script.
- Instructions on what each individual script does as well as how to set up your own ragdoll.
- A blank ragdoll setup to follow along with the instructions
What isn't this asset?
- An all in one active ragdoll solution. I provide an active ragdoll and instructions on what I did to create it, but this is by no means going to create an active ragdoll for you.
- A production ready product. This ragdoll is a great start if you want to try to make a physics based game, but it likely isn't feature full enough to center a game around on its own. I do have a game I made using this asset as the base on my account. (https://edmek55555.itch.io/slumpem)
A simple drag and drop active ragdoll package for Unity. You can immediately begin running around and interacting with any physics objects in your scene. Includes a dummy to beat up on. Instructions are included, but as a warning I will mention that ragdolls can be fairly temperamental to set up and very individual to the model. I include a blank canvas model to use for setup but you can also use your own model with some (potentially a lot of) tweaking of settings.
If you want to try a game made using this asset as a base, I made a small example game here https://edmek55555.itch.io/slumpem
Status | Released |
Category | Assets |
Author | edmek55555 |
Genre | Fighting |
Made with | Unity |
Tags | active-ragdoll, asset, Asset Pack, gang-beasts, instructions, Physics, ragdoll, Unity |
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
why am i flying
Is this when you are pressing the spacebar? If so it may be an issue with detecting whether or not the ragdoll is on the ground. It has been a bit since I made this but if you can tell me some details about the issue you are having I should be able to get it taken care of for ya!
no it does this as soon as the game is run
I launched it yesterday from my source and didn’t have trouble so it may be something to do with the unity package. I will try downloading this later and see if it just needs to be repackaged. Sorry for the trouble
even starting a brand new project and importing the package I could not recreate the error. Are you getting this in the demo scene or when you drag in the prefab? Or both? I wish I had some more trouble shooting steps to give you but so far I haven’t been able to get this to happen no matter what I’ve tried
both :(
I have been messing around with this some more and have still been able to recreate the issue. If you send me the project that is giving you the trouble I can open it in unity and give it a look. You can send the file to edmechgames@yahoo.com and I will see if I can troubleshoot it for ya
I think I found the issue. Layer settings do not seem to carry over. In the top right of the inspector, click on the layers dropdown and create a layer. Click on the hips of the ragdoll model, then hold shift and click on the bottom body part in the heirarchy. Assign them all to the new layer. Now in project settings (edit -> project settings) click on the physics tab and scroll to the bottom to where you see the layer collision matrix. You will see a table of all of your layers. Make sure where your new layer meets with itself, the check box is unchecked. This will solve the issue. So sorry for the hassle! It took me forever to recreate this