- Home /
Hinge Joint 2D separating from object
Hi,
I have a kinematic object (object A) as a child of the player which is supposed to serve as the connection to another object (object B). Object B has the Hinge Joint 2D component attached to it.
The goal is to have Object B rotate or swing around its origin. My problem is that when the player moves, Object B falls behind and does not stay visibly connected to the connection anchor. When the player stops moving, Object B catches back up to where it should be.
Any tips or suggestions would be very helpful! Thanks for your help!
Edit 1: I've tried this with many different joints, and all of them appear to have the same kind of falling behind behavior.
Edit 2: I figured out from this post that my problem is occurring because the joint is attached to a kinematic object whose parent has a dynamic rigidbody. I'm only doing this because I don't want the player object's movement to be affected by Object B's hinge joint. Is there a way to negate the impact a connected object has?
Your answer
Follow this Question
Related Questions
How do I make a rigidbody2d that doesn't do anything on collision? 1 Answer
Spin a non-kinematic 2d object ? 0 Answers
Rigidbody2d starts as kinematic enabled when it is not in inspector 0 Answers
2d kinematic projectile velocity problem 0 Answers
Hingejoint2D's anchor pushed away from connected anchor 4 Answers