Unity Joints - nomrand/__basics GitHub Wiki
Hinge Joint
Prepare 2 Objects which has RigidBody Component. Object1 for joint center(pivot), and Object2 for joint client(move after Object1).
- Attatch [Hinge Joint] to Object2
- Set Ojbect1 to [Connected Body] (joint pivot object)
- Adjust the [Anchor] xyz (=distance from Object2), and [Connected Anchor] xyz (=distance from Object1)
- (Option) Set rotate angle limit. Check On [Use Limit], and set [Limits Min/Max].
play as
Spring Joint
Prepare 2 Objects which has RigidBody Component. Object1 for spring base(pivot), and Object2 for spring client(move after object1).
- Attatch [Spring Joint] to Object2
- Set Ojbect1 to [Connected Body] (joint pivot object)
- Adjust the [Anchor] xyz (=distance from Object2), and [Connected Anchor] xyz (=distance from Object1)
- (Option) Set spring force([Spring]) or other...
play as