dampingRatio
The amount by which the spring force is reduced in proportion to the movement speed.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public float dampingRatio { get; set; }
Remarks
The spring will oscillate with a certain frequency as it attempts to reestablish the desired distance between the objects. The higher the damping ratio, the quicker the oscillation will die down to zero.
Additional Resources: SpringJoint2D.frequency.