Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ArticulationBody.SetDriveTarget

Switch to Manual

Declaration

public void SetDriveTarget(ArticulationDriveAxis axis, float value);

Parameters

axis The drive axis.
value The value to set the target to.

Description

Sets the target value of the specified drive.

Additional resources: ArticulationDrive.target.