用户工具

站点工具


侧边栏

script:unityengine:classes:hingejoint2d:hingejoint2d

HingeJoint2D 铰链二维关节

Namespace: UnityEngine

Namespace: UnityEngine/Inherits from:AnchoredJoint2D

Description 描述

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.

Variables 变量

script/unityengine/classes/hingejoint2d/hingejoint2d.txt · 最后更改: 2016/08/02 05:34 (外部编辑)

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