Joint:getAnchors
EditReturns the world space anchor points of the Joint. Joints are attached to each collider at a single point, which is defined when the Joint is created.
x1, y1, z1, x2, y2, z2 = Joint:getAnchors()Arguments
None
Returns
| Name | Type | Description |
| x1 | number | The x coordinate of the anchor point on the first Collider, in world space. |
| y1 | number | The y coordinate of the anchor point on the first Collider, in world space. |
| z1 | number | The z coordinate of the anchor point on the first Collider, in world space. |
| x2 | number | The x coordinate of the anchor point on the second Collider, in world space. |
| y2 | number | The y coordinate of the anchor point on the second Collider, in world space. |
| z2 | number | The z coordinate of the anchor point on the second Collider, in world space. |