Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


swing1Limit

The angular limit of rotation (in degrees) around the primary axis of the character joint.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public SoftJointLimit swing1Limit { get; set; }

Remarks

The limit is symmetric. For example, a value of 30 will limit the rotation between -30 and +30 degrees. The limit is relative to the angle the two rigidbodies started the simulation out with.