Colliders
Character Controllers

Joints

A Joint component connects a RigidbodyA component that allows a GameObject to be affected by simulated gravity and other forces. More info
See in Glossary
to another Rigidbody or a fixed point in space. JointsA physics component allowing a dynamic connection between rigidbodies, usually allowing some degree of movement such as a hinge. More info
See in Glossary
apply forces that move rigid bodies, and joint limits restrict that movement. Joints give Rigidbodies the following degrees of freedom:

Unity provides the following joints that apply different forces and limits to Rigidbody components, and therefore give those bodies different motion:

Property: Function:
Character JointAn extended ball-socket joint which allows a joint to be limited on each axis. Mainly used for Ragdoll effects. More info
See in Glossary
Emulates a ball and socket joint, like a hip or shoulder. Constrains rigid body movement along all linear degrees of freedom, and enables all angular freedoms. Rigidbodies attached to a Character Joint orient around each axis and pivot from a shared origin.
Configurable JointAn extremely customizable joint that other joint types are derived from. It can be used to create anything from adapted versions of existing joints to custom designed and highly specialised joints. More info
See in Glossary
Emulates any skeletal joint, like those in a ragdoll. You can configure this joint to force and restrict rigid body movement in any degree of freedom.
Fixed JointA joint type that is completely constrained, allowing two objects to be held together. Implemented as a spring so some motion may still occur. More info
See in Glossary
Restricts the movement of a rigid body to follow the movement of the rigid body it is attached to. This is useful when you need rigid bodies that easily break apart from each other, or you want to connect the movement of two rigid bodies without parenting in a Transform hierarchy.
Hinge JointA joint that groups together two Rigidbodies, constraining them to move like they are connected by a hinge. It is perfect for doors, but can also be used to model chains, pendulums and so on. More info
See in Glossary
Attaches a rigid body to another rigid body or a point in space at a shared origin and allows the rigid bodies to rotate around a specific axis from that origin. Useful for emulating doors and finger joints.
Spring JointA joint type that connects two Rigidbodies together but allows the distance between them to change as though they were connected by a spring. More info
See in Glossary
Keeps rigid bodies apart from each other but lets the distance between them stretch slightly. The spring acts like a piece of elastic that tries to pull the two anchor points together to the exact same position.

2D joints have 2D at the end of the name (for example, Hinge Joint 2D). For a summary of the 2D joints , see Joints 2D documentation.

Joints also have other options that you can enable for specific effects. For example, you can set a joint to break when a Rigidbody applies a force to it that exceeds a certain threshold. Some joints allow a drive force to occur between the connected Rigidbodies to set them in motion automatically.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答