문제

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