LHRopeJointNode class is used to load a LevelHelper rope joint. The equivalent in SpriteKit is a
SKPhysicsJointLimit joint object, which is a wrapper over Box2d b2RopeJoint.
Returns whether or not this rope joint can be cut.
- (void)cutWithLineFromPointA:(CGPoint)ptA toPointB:(CGPoint)ptB
The start point of the line used to cut the rope. In scene coordinates.
The end point of the line used to cut the rope. In scene coordinates.
If the line described by ptA and ptB intersects with the rope joint, the rope will be cut in two. This method ignores "canBeCut".
Copyright © VLADU BOGDAN DANIEL PFA.