¿Hay alguna forma de ver visualmente el límite de SKPhysicsbody del kit de sprites?

Estoy usando bodyWithPolygonFromPath para definir el volumen del cuerpo físico, y se usa

http://dazchong.com/spritekit/

Para obtener los caminos requeridos. Pero el camino no parece correcto y deseo ver el límite del camino del cuerpo físico para ver si la forma es correcta.

¿Hay alguna manera de ver el resumen del volumen del cuerpo físico?

Probé el siguiente código, pero no funciona.

ship = [SKSpriteNode spriteNodeWithImageNamed: @ "Spaceship"];

CGFloat offsetX = ship.frame.size.width * ship.anchorPoint.x;
CGFloat offsetY = ship.frame.size.height * ship.anchorPoint.y;

CGMutablePathRef path = CGPathCreateMutable();

CGPathMoveToPoint(path, NULL, 50 - offsetX, 110 - offsetY);
CGPathAddLineToPoint(path, NULL, 18 - offsetX, 16 - offsetY);
CGPathAddLineToPoint(path, NULL, 140 - offsetX, 15 - offsetY);

CGPathCloseSubpath(path);

SKShapeNode *yourline = [SKShapeNode node];
yourline.name = @"yourline";
yourline.path = path;
[yourline setStrokeColor:[UIColor redColor]];
 [self addChild:yourline];


ship.physicsBody = [SKPhysicsBody bodyWithPolygonFromPath:path];
//[ship setScale:0.5];
ship.zRotation = - M_PI / 2;

Respuestas a la pregunta(7)

Su respuesta a la pregunta