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.
Adds a joint to the physics world.
func add(_ joint: SKPhysicsJoint)The joint to add.
For a joint to take effect, it must be added to the physics world.