- Home /
Hinge Joint On Little Noodle Carton (with pic)
Hey! So I just started playing around with hinge joints and I'm having a much harder time then expected trying to use them. I'm trying to simulate a lid being attached to a little carton and have the lid behave realistically while the carton is moved around.
I'd like the lid to only be able to move back and forth and not be able to do any kind of rotation. I got some of it working but the lid sometimes flips in weird directions and will sometimes separate away and then snap back. It seems like I need a really strong joint. ;)
Thanks much for the help!
Free bump from me because I really like the question title and the strong joint pun.
Unfortunately, I have no experience with joints (in Unity).
Answer by Kiloblargh · May 16, 2014 at 01:17 AM
Probably a collider issue. Is the box a concave mesh collider, and does the lid's collider intersect it? Use just box colliders, and put a bit of a gap between them.
Also try using a configurablejoint. You can lock all but one axis and set the springiness of that axis.
cool. thanks for the idea. ill keep messing about with a config joint but for now i think were going to just redesign the model to not have such a big flap.
Your answer
Follow this Question
Related Questions
How to limit the motion direction of a GameObject? 1 Answer
How do you attach moving parts (moved by physics) to an animated character? (Secondary Animations) 1 Answer
Rigidbody hover, bodies connected with joints should hover together. 0 Answers
Catapult press spacebar to launch / throw 1 Answer
Hinge Joints Interfering with each other 0 Answers