Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetMotorTorque(float)

Gets the motor torque of the joint given the specified timestep.
Read time 1 minuteLast updated 4 days 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