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

ArticulationBody.SetDriveTargetVelocity

Switch to Manual

Declaration

public void SetDriveTargetVelocity(ArticulationDriveAxis axis, float value);

Parameters

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

Description

Sets the target velocity value of the specified drive.

Additional resources: ArticulationDrive.targetVelocity.