Documentation

Unity Engine

Unity Engine

SetDriveTarget(ArticulationDriveAxis, float)

Sets the target value of the specified drive.
Read time 1 minuteLast updated 2 days ago

Definition

public void SetDriveTarget(ArticulationDriveAxis axis, float value)

Parameters

The drive axis.

value

The value to set the target to.

Remarks

Additional Resources: ArticulationDrive.target.