Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetDriveTarget(ArticulationDriveAxis, float)

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

Definition

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

Parameters

The drive axis.

value

The value to set the target to.

Remarks

Additional Resources: _target