标签: ios iphone sprite-kit skphysicsbody
答案 0 :(得分:1)
对于每像素物理机构
SWIFT
init(texture texture: SKTexture!, size size: CGSize) -> SKPhysicsBody
目标-C
+ (SKPhysicsBody *)bodyWithTexture:(SKTexture *)texture size:(CGSize)size