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.
The lower limit of the drive.
The upper limit of the drive.
Remarks
Additional Resources: _lowerLimit, _upperLimit