bounciness
Determines the size of the bounce when the joint hits it's limit. Also known as restitution.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public float bounciness { get; set; }
Remarks
Additional Resources: JointLimits.bounceMinVelocity.
The size of the new velocity after the bounce will be determined as:
newVelocity = currentVelocity * bouncinessWhen opening an old project using the deprecated and the new will be chosen as the maximum and .
maxBounceminBouncebouncinessmaxBounceminBounce