bounciness
Determines the size of the bounce when the joint hits it's limit. Also known as restitution.
阅读时间1 分钟最后更新于 22 天前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public float bounciness { get; set; }
Remarks
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 .
maxBounceminBouncebouncinessmaxBounceminBounceAdditional Resources: JointLimits.bounceMinVelocity