CAEmitterCell with 3D rotation
问题 I'm trying to reproduce pieces of small paper falling from top effect, using CAEmitterLayer & CAEmitterCell. So far, I got the 2D animation of it, But I'm having difficulty to make each cell to rotate when falling. How to I apply random rotation on each particle? I tried with 3D Transform with no success so far. This is what I got: -(void) configureEmitterLayer { self.emitterLayer = [CAEmitterLayer layer]; self.emitterLayer.emitterPosition = CGPointMake(self.backgroundContainer.bounds.size