Namespace: UnityEngine
Namespace: UnityEngine/Inherits from:AnchoredJoint2D
Joint that allows a Rigidbody2D object to rotate around a point in space or a point on another object.
关节,该关节允许一个二维刚体对象围绕一个点旋转,而这个点位于空间中或在另一个对象上。
See Also: HingeJoint2D class,SliderJoint2D class,SpringJoint2D class.
jointAngle | The current joint angle with respect to the reference angle. 当前关节的角相对于参考的角 |
|
jointSpeed | The current joint speed. 当前关节的速度。 |
|
limits | Limit of angular rotation on the joint. 在关节上角旋转的限制。 |
|
limitState | Gets the state of the joint limit. 获取的关节限制的状态。 |
|
motor | Parameters for the motor force applied to the joint. 电机动力的参数应用于关节。 |
|
referenceAngle | The angle referenced between the two bodies used as the constraint for the joint. 角所参考的在两个物体之间,被用作约束关节 |
|
useLimits | Should limits be placed on the range of rotation? 限定范围应被放置在旋转范围内? |
|
useMotor | Should the joint be rotated automatically by a motor torque? 关节应被自动地旋转,并通过一个电机转矩? |
GetMotorTorque | Gets the motor torque of the joint given the specified timestep. 获取关节的电机转矩,并给定特定的时间步 |