文档

Unity Engine

Unity Engine

bounciness

The bounciness (coefficient of restitution) usually in the range [0, 1]. Values higher than 1 will result in energy being added which can lead to an unstable simulation. This is assigned to the current PhysicsShape.surfaceMaterial.
阅读时间1 分钟最后更新于 25 天前

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public float bounciness { get; set; }