Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetMotorForce(float)

Gets the motor force of the joint given the specified timestep.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float GetMotorForce(float timeStep)

Parameters

timeStep

The time to calculate the motor force for.

Returns

Type

Description

float