Documentation

Unity Engine

Unity Engine

GetMotorTorque(float)

Gets the motor torque of the joint given the specified timestep.
Read time 1 minuteLast updated a month ago

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