Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

WheelJoint2D.GetMotorTorque

Switch to Manual

Declaration

public float GetMotorTorque(float timeStep);

Parameters

timeStep The time to calculate the motor torque for.

Description

Gets the motor torque of the joint given the specified timestep.