文档

Unity Engine

Unity Engine

SetDriveForceLimit(ArticulationDriveAxis, float)

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

Definition

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

Parameters

The drive axis.

value

The value to set the force limit to.

Remarks

Additional Resources: ArticulationDrive.forceLimit.