How to show SKEmitterNode without parent node? I want my particles to stay at the static place, and emitter moves. But generated particles moving with parent node.

[someNode addChild:SKEmitterNode]
有帮助吗?

解决方案

Without parent node? SKScene:SKNode, so SKEmitterNode will always have parent node.

Try setting targetNode property on emitter node to self (current SKScene).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top