- Home /
Hinge joint problem, pendulum
Hello everyone, my problem is simple:
I have a gameObject with a hingeJoint2d attached to my rigidbody2d (mass =1, no drag, gravity=1, no kinematic, no fixed angle), named Chandelier, with Anchor at (0,0) and ConnectedAnchor at a certain point in the space (not to another rigidbody).
This is how it looks:
But when i press play the hinge attracts the anchor to the connected anchor like this:
So I tried to add a distance joint to keep it far:
http://postimg.org/image/dn4lz507n/
But it seems like the hinge joint is stronger:
http://postimg.org/image/cjkhn6fkj/
I have seen the 2d unity tutorial hundred of times, Unity answers has no more secrets for me. What am I doing wrong? The final result I am aiming to is a chandelier able to swing like a pendulum.
Your answer
Follow this Question
Related Questions
Unity2D Joints not rotating the way I want them to. 1 Answer
Hingejoint2D on player with an attached parent animator? 0 Answers
How can I create 2D swinging ball? 1 Answer
Why do my hinge joints 2d not work when they are first loaded? 1 Answer
How to create a line by mouse but in x and y direction only 0 Answers