Namespace: UnityEngine
Namespace: UnityEngine/Inherits from:AnchoredJoint2D
Joint that keeps two Rigidbody2D objects a fixed distance apart.
关节,使两个二维刚体对象保持在一个固定的距离。
Note that unlike the SpringJoint2D component, the distance separating the objects is truly fixed and does not allow for any stretching.
注意与弹簧二维关节组件不同的是,分开的物体的距离被切实固定,并且不允许任何拉伸。
See Also: HingeJoint2D class,SliderJoint2D class,SpringJoint2D class.
autoConfigureDistance | Should the distance be calculated automatically? 是否自动计算距离? |
ditance | The distance separating the two ends of the joint. 关节的两端分开的距离 |
maxDistanceOnly | Whether to maintain a maximum distance only or not. If not then the absolute distance will be maintained instead. 是否仅支持一个最大距离。如果不支持,绝对距离将被支持替代。 |