기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


GetMotorTorque(float)

Gets the motor torque of the joint given the specified timestep.
읽는 시간 1분최근 업데이트: 22일 전

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