• 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 ac21217 · Apr 12, 2014 at 04:08 AM · 2drigidbody2d-physicsjoints

2D Physics: How to have a character "grab" onto wall with hand

So a ragdoll character is flying through the air. Now, when a player holds down a certain key while the ragdoll's hand is in contact with an object, the hand should latch to the object at that point. I've got this all set up rather well, other than that all of the 2D joints seem to be to weak or glitchy. The ragdoll will either flail about crazily or the joint will act as a rope that allows the ragdoll to float off away from the joint before pulling back slowly.

So two legs, two arms, a head, and a jetpack all have hinge joints connecting them to the main body. Then, i also have a "sensor" object with a spring joint connecting it to the right arm at the hand. This sensor is what is supposed to connect to the object. I have probably overcomplicated this at this point. If you're interested in helping and need more information, I will provide it.

Comment
Add comment · Show 1
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 Pyrian · Apr 12, 2014 at 05:08 AM 0
Share

Why a spring joint? Both the crazy flailing and the floaty rope behavior sound like just different attribute settings of the spring. Have you tried a high damping value? Should cut down on the flailing.

0 Replies

· Add your reply
  • Sort: 

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

22 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

Related Questions

Wheel Friction Curve in 2d 0 Answers

Why is there no Rigidbody2D.SweepTest() ? 1 Answer

is it better to make one collider for a large landmass made of many tiles, or make each of the tiles have their own colliders? 2 Answers

Can I arbitrarily move a dynamic Rigidbody 2D? 1 Answer

How to convert Torque Stabilizer to RigidBody2D? 1 Answer

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