Documentation

Unity Engine

Unity Engine

GetMotorForce(float)

Gets the motor force 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 GetMotorForce(float timeStep)

Parameters

timeStep

The time to calculate the motor force for.

Returns

Type

Description

float