- Home /
Hinge Joint connected to moving object - not aligned & straighten
I have two blocks with rigidbodies connected via hinge joint. First block is moving towards some direction (via rigidbody.MovePosition
and rigidbody.rotation
). I would expect second block to align to the direction of the first block. But it's behaving differently (can be seen on attached video) and I don't know why.
Is that correct behavior of the hinge joint?
When it's going diagonally, second block is "aligned" well, but not for horizontal lines - why?
How to configure the joint to align after the first object
Joint configuration:
Editor screenshot:
Thanks anyone for the answer.
Your answer
Follow this Question
Related Questions
How to rotate rigidbody relative to jointed other rigidbody? 2 Answers
How to make an arm with multiple, controllable joints? 2 Answers
Hingejoint: how to change axis correctly? 0 Answers
Accurate weighing scales using hinge joints and rigid bodies 0 Answers
How to use character controller to push down hinge joint properly 1 Answer