• 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
0
Question by Eminem32 · Jun 01, 2016 at 02:45 PM · physics2dhingejoint2d

My Rope 2D System behaves abnormally

I know there are lots of these questions but they couldn't answer me !!

So straight to the question

In my game i am having the series of small GameObjects which are attached to one another using HingeJoint2D....this is my rope..

the first end of the rope is stuck on the wall and the other part is attached to the player,,therefore player hangs on the rope...

here is the problem :- 1. my rope is not behaving like actual rope... 2. when the player attains mass the rope flies apart ,,,,, basically the distance between the GameObjects from which the rope is made up off increases ..

And One more thing i am working on 2D game :)

Any Suggestions will be appreciated ...

Comment
Add comment · Show 3
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 Eudaimonium · Jun 01, 2016 at 03:14 PM 0
Share

Each Joint object has a Break force parameter, if I remember correctly - I haven't used joints much but I do remember that they break apart easily at standard parameters. Try finding and increasing the break force number in the inspector of each joint.

Also, "Eminem32", going by other people's famous stage name isn't cool. Unless you really are Mr. Marshall Mathers, in that case, hi! :D

avatar image Eminem32 · Jun 03, 2016 at 06:28 PM 0
Share

Well @Eudaimonium break force are set to infinity....

And About the name... FANS ARE ALWAYS LIKE THAT !! :D

avatar image Eminem32 Eminem32 · Jun 02, 2016 at 06:46 AM 0
Share

After spending whole night searching , today i got the second problem fixed !! I was playing with the Rigidbody2D values of every gameobject of my rope and i figured it out when mass and gravityScale is set to a lower value rope doesn't flies apart until a huge force is applied by the hanging object on the rope.. :D

But Still rope doesn't work like realistic rope :/

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by MelvMay · Jun 01, 2016 at 03:15 PM

You should additionally connect the first and last Rigidbody2D (or to the world if there's no first Rigidbody2D) using a DistanceJoint2D with MaxDistanceOnly set to true.

Comment
Add comment · Show 1 · 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 Eminem32 · Jun 02, 2016 at 07:25 AM 0
Share

great now rope is like wow !! Thanks a lot :)

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Hinge joint 2d combined with relative joint 2d jitters with increasing linear offset 0 Answers

How can i make a ragdoll stickman controller? 0 Answers

hinge joint 2d rope flies apart 1 Answer

HingeJoint2d joint going crazy 0 Answers

HingeJoint2D physics different between editor and build (see images inside) 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges