Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetDriveLimits(ArticulationDriveAxis, float, float)

Sets the lower and upper limits of the drive.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public void SetDriveLimits(ArticulationDriveAxis axis, float lower, float upper)

Parameters

The drive axis.

lower

The lower limit of the drive.

upper

The upper limit of the drive.

Remarks

Additional Resources: _lowerLimit, _upperLimit