FixedJoint2D
Connects two Rigidbody2D together at their anchor points using a configurable spring.
Read time 7 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
- Inherits from: AnchoredJoint2D
public sealed class FixedJoint2D : AnchoredJoint2D
Properties
Property | Description |
|---|---|
| dampingRatio | The amount by which the spring force is reduced in proportion to the movement speed. |
| frequency | The frequency at which the spring oscillates around the distance between the objects. |
| referenceAngle | The angle referenced between the two bodies used as the constraint for the joint. |
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. |