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 |
|---|---|
| anchor | The joint's anchor point on the object that has the joint component. |
| autoConfigureConnectedAnchor | Should the connectedAnchor be calculated automatically? |
| connectedAnchor | The joint's anchor point on the second object (ie, the one which doesn't have the joint component). |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |