Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by TurningTide · Dec 29, 2013 at 05:34 PM · unity 2dspritesragdoll2d physics

Physics 2D ragdoll

Hello! In native Unity you can create ragdoll from 3d model with bones. But what to do if i want to create skeleton animation from sprites? it could be corpse or rope or anything else. Are there any tutorials about this?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

5 Replies

· Add your reply
  • Sort: 
avatar image
5

Answer by nishant619 · Sep 05, 2015 at 01:11 AM

Sorry if i am 2 years too late. but i did something like the previous answer and it worked. the following steps are for making a skeleton with only 6 body parts. those are 1x head, 1 x torso, 2 x arms, 2 x legs. but if u do this u will understand the process and can make joints even further complex. follow the steps as it is, and i take it that you have put all the body parts in the scene and rigged them on their desired position.

  1. attach rigidbody2d to all the the parts u want in ur skeleton.

  2. attach boxCollider or any other collider u want, to all the parts.

  3. having selected all the body parts excluding torso, attach hinge joints.

  4. having selected all the body parts excluding torso, drag and drop torso in the inspector where it asks for connected rigidbody.

  5. now go to the individual body parts excluding torso and adjust the ring and the dot. you have to put the ring and the dot in the same position u want the joint.

note: moving the ring gets difficult with the current interface but it lies on the pivot, so if u adjust the pivot before hands you wont have any problem.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tmendez · Nov 08, 2015 at 05:11 AM 0
Share

Thanks! Very straightforward ya helped me out a lot!

avatar image faraza158 · May 21, 2020 at 10:05 AM 0
Share

I found a video tutorial cuz it was kind of confusing at first for me.. so for those who are more comfortable with video tuts.. here you go Click here

avatar image
1

Answer by faraza158 · May 20, 2020 at 07:10 PM

I found a quick video tutorial on how to make 2d ragdolls with joints and stuff.. Here you go Click here

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by sattri99 · Dec 31, 2013 at 03:04 PM

Yes, You can make a ragdoll in unity 2d but not through bones or skeleton. You can achive the similar effect by manually parenting and then attaching joints and rigidbodies to them. for eg. If you want to make a character a ragdoll, first you will have to make different sprites for hands, legs, torso and head (fingers optional) and then import them in unity seperately, position them in their place and add rigidbody2d component to all the sprites. then parent the hand, legs and head to the torso and add hinge joint component to each thing. second example : if you want to make a rope you will have to make many rectangle rigidbodies and position them on the top of other untill the satisfactory length is achieved and then parent them one by one. And add hinge joints to them to make arope like physics

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image TurningTide · Jan 07, 2014 at 11:14 AM 0
Share

but every hinge joint attaches to a pivot point, that could be only one in object. So if i create body sprite with pivot on top, i can snap a head to it, but if i want to attach legs to the body, they will spown on the top pivot. Whats wrong? (sry for eng)

avatar image Hannibal_Leo · Jan 26, 2014 at 06:47 PM 0
Share

add the joints to the head/arms/legs ...

avatar image
0

Answer by Aman1234 · Apr 25, 2016 at 12:11 PM

you can make this but with joints...

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by gpaulguilfoyle · Jan 12, 2020 at 10:58 AM

Here is a full tutorial on using hinge joints to create a unity 2d ragdoll If anyone is interested in building out a character.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

26 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

is there any way to group sprites? - Unity2D, 1 Answer

Setting a sprite's size with pixels 2 Answers

How to stretch a sprite without distortion ? 2 Answers

Sprite colors not displaying properly after I click play 2 Answers

Unity 2d spriteshape setpoint not working in builds 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges