Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetDriveStiffness(ArticulationDriveAxis, float)

Sets the stiffness value of the specified drive.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public void SetDriveStiffness(ArticulationDriveAxis axis, float value)

Parameters

The drive axis.

value

The value to set the stiffness to.

Remarks

Additional Resources: ArticulationDrive.stiffness.