Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

FrictionJoint2D.maxForce

Switch to Manual
public float maxForce;

Description

The maximum force that can be generated when trying to maintain the friction joint constraint.

The joint constantly tries to reduce the ::Rigidbody2D::velocity using the maximum force. Because you can use very high force limit, you can essential reduce an objects movement to almost zero.

See Also: maxTorque, ::Rigidbody2D::velocity.

Did you find this page useful? Please give it a rating: