Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


angle

The angle of the line in space (in degrees).
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

The line along which the joint can slide is specified by its world angle and optionally by endpoint limits along its length.
Additional Resources: SliderJoint2D.limits.