Contents

add(_:)

Adds a joint to the physics world.

Declaration

func add(_ joint: SKPhysicsJoint)

Parameters

  • joint:

    The joint to add.

Mentioned in

Discussion

For a joint to take effect, it must be added to the physics world.

See Also

Joining Physics Bodies with Joints