SKSpriteNode *_node;
- (void)didBeginContact:(SKPhysicsContact *)contact
{
_node.alpha = 0.5; //this works
_node.zRotation = 0.5; // this doesn't work
}
Any ideas why zRotation
doesn't work? I tried doing NSLog
and it gives the right zRotation
but the screen is not showing.
zRotation
is already set to0.5
? – Andrey Gordeev