文档

Unity Engine

Unity Engine

frequency

The frequency at which the suspension spring oscillates.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float frequency { get; set; }

Remarks

The suspension spring will oscillate with a certain frequency as forces are added and removed from it. A damping ratio can be set to cause this oscillation to die down over time.