Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AnchoredJoint2D

Parent class for all joints that have anchor points.
Read time 6 minutesLast updated 2 days ago

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
  • Inherits from: Joint2D
public class AnchoredJoint2D : Joint2D

Remarks

Additional Resources: DistanceJoint2D class, HingeJoint2D class, SliderJoint2D class, SpringJoint2D class, WheelJoint2D class.

Properties

Property

Description

anchorThe joint's anchor point on the object that has the joint component.
autoConfigureConnectedAnchorShould the connectedAnchor be calculated automatically?
connectedAnchorThe joint's anchor point on the second object (ie, the one which doesn't have the joint component).

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.