Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


maxForce

The maximum force that can be generated when trying to maintain the friction joint constraint.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float maxForce { get; set; }

Remarks

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.
Additional Resources: FrictionJoint2D.maxTorque, ::Rigidbody2D::velocity.