Sprite Kit - объект сталкивается из-за масштаба после обновления iOS 7.1
Проблем не было, но после обновления iOS 7.1 объект сталкивается с разрывом 2pipes. Кто-то сказал раньше, это может быть из-за «yScale», но я не смог найти решение.
Некоторый код;
Pipe *pipe = [[Pipe alloc] initWithImageNamed:pipeImageName];
[pipe setCenterRect:CGRectMake(26.0/kPipeWidth, 26.0/kPipeWidth, 4.0/kPipeWidth, 4.0/kPipeWidth)];
[pipe setYScale:height/pipe.size.height];
[pipe setPosition:CGPointMake(320+(pipe.size.width/2), abs(pipeYOffset + (pipe.size.height/2)))];
pipe.physicsBody = [SKPhysicsBody bodyWithRectangleOfSize:pipe.size];
[pipe.physicsBody setAffectedByGravity:NO];
[pipe.physicsBody setDynamic:NO];
Любая помощь будет оценена. Спасибо!