This version of Unity is unsupported.

ArticulationBody.SetDriveLimits

Switch to Manual

Declaration

public void SetDriveLimits(ArticulationDriveAxis axis, float lower, float upper);

Parameters

axis The drive axis.
lower The lower limit of the drive.
upper The upper limit of the drive.

Description

Sets the lower and upper limits of the drive.