Hinge joint and Fixed joint in Unity3D
Hinge Joint in Unity3DThe hinge joint in unity is basically used to connect two rigid bodies. When there is a need to constraint the movement of an object then we require to add hinge joint on it.
For eg - Door,Pendulum. In this we restrict the movement of objects to certain limit. So in order to connect them, we use hinge joint.
Details-
Hinge joint is applied to a gameObject.
To connect two rigid bodies with hinge joint, Add hinge joint on one body and assign the other body as Connected body.
Hinge joint has many properties, According to which we can modify hinge joint as per our requirements.
Anchor is orange color arrow, it actually shows the point where two bodies are connected. They will move around it.
We also need to specify the axis(x,y,z) along which the connected bodies will move.
Read the full blog here about Hinge joint and Fixed joint in Unity3D at Findnerd.
Findnerd is also a best place to solve your Tech Query, Ask Questions etc.