文档

Unity Engine

Unity Engine

GetMotorTorque(float)

Gets the motor torque of the joint given the specified timestep.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float GetMotorTorque(float timeStep)

Parameters

timeStep

The time to calculate the motor torque for.

Returns

Type

Description

float