Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

JointLimits.minBounce

var minBounce: float;

Description

The bounciness of the joint when hitting the lower limit of the joint.

	// Set the joint to bounce off when hitting the lower limit
	var limits = hingeJoint.limits;
	limits.minBounce = 1;
	hingeJoint.limits = limits;