ドキュメント

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