文档

Unity Engine

Unity Engine

SetDriveTargetVelocity(ArticulationDriveAxis, float)

Sets the target velocity value of the specified drive.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

The drive axis.

value

The value to set the target velocity to.

Remarks

Additional Resources: ArticulationDrive.targetVelocity.