I'm a begginer in xcode and i want
to make a Sprite Kit node with BodyWithCircleOfRadius
, instead of creating a node with SpriteNodeWithImageName
. How can I attach it to a particle effect?
thanks, ronen
I'm a begginer in xcode and i want
to make a Sprite Kit node with BodyWithCircleOfRadius
, instead of creating a node with SpriteNodeWithImageName
. How can I attach it to a particle effect?
thanks, ronen
SKSpriteNode technically cannot be a circle as its size is determined by CGSize (width,height). You can however attach a circular physics body using bodyWithCircleOfRadius:
if you want. If you are looking for a particle effect, I would suggest you use SKEmitterNode instead.