Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

GetMotorTorque(timeStep: float): float;
float GetMotorTorque(float timeStep);
def GetMotorTorque(timeStep as float) as float

Parameters

timeStepThe time to calculate the motor torque for.

Description

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