SKPhysicsJointFixed object fuses two physics bodies together at a reference point. Fixed joints are useful for creating complex shapes that can be broken apart later.
Creates a new physics joint.
The first body to connect. The body must be connected to a node that is already part of the scene’s node tree.
The second body to connect. The body must be connected to a node that is already part of the scene’s node tree.
The anchor point for the connection in the scene’s coordinate system.
A new physics joint.
You must add the joint to a physics world associated with the scene before it takes effect.
Available in iOS 7.0 and later.