Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bounciness

Determines the size of the bounce when the joint hits it's limit. Also known as restitution.
Read time 1 minuteLast updated 10 days ago

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 * bounciness
.
When opening an old project using the deprecated
maxBounce
and
minBounce
the new
bounciness
will be chosen as the maximum
maxBounce
and
minBounce
.