用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:wheeljoint2d:wheeljoint2d

WheelJoint2D 轮子二维关节

Namespace: UnityEngine

Namespace: UnityEngine/Inherits from:AnchoredJoint2D

Description 描述

The wheel joint allows the simulation of wheels by providing a constraining suspension motion with an optional motor.

轮子关节允许轮子通过提供一个约束悬挂运动,带有可选马达。

See Also: JointSuspension2D.

Variables 变量

jointSpeed The current joint speed.
当前关节速度。
jointTranslation The current joint translation.
当前关节位移。
motorParameters for a motor force that is applied automatically to the Rigibody2D along the line.
马达力的参数是沿着线自动应用于2D刚体。
suspension Parameters for a motor force that is applied automatically to the Rigibody2D along the line.
参数用于马达力,这个力沿着线自动地作用于二维刚体
useMotor Should a motor force be applied automatically to the Rigidbody2D?
马达力应自动地被应用于二维刚体吗?

Function 函数

GetMotorTorque Gets the motor torque of the joint given the specified timestep.
获取了关节的马达力矩,并给予指定的时间步。
script/unityengine/classes/wheeljoint2d/wheeljoint2d.txt · 最后更改: 2016/08/02 05:29 (外部编辑)