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.