文档

Unity Engine

Unity Engine

SetDriveDamping(ArticulationDriveAxis, float)

Sets the damping value of the specified drive.
阅读时间1 分钟最后更新于 24 天前

Definition

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

Parameters

The drive axis.

value

The value to set the damping to.

Remarks

Additional Resources: ArticulationDrive.damping