Top "Skphysicsbody" questions

An SKPhysicsBody object is used to add physics simulation to a node.

How does collisionBitMask work? Swift/SpriteKit

As far as I'm aware the default for Physics bodies is to bounce off each other when they hit each …

swift sprite-kit skphysicsbody
Binary operator '~=' cannot be applied to operands of type 'String' and 'String?'

I have a simple switch-statement that is not that simple. switch(bubble?.name){ //bubble is SKPhysicsBody case "largeBubble": // <= error …

swift switch-statement skphysicsbody
applyForce(0, 400) - SpriteKit inconsistency

So I have an object that has a physicsBody and gravity affects it. It is also dynamic. Currently, when the …

objective-c physics sprite-kit skphysicsbody
Physicsbody doesn't adhere to node's anchor point

My scene has a bunch of rectangles with physics bodies that are the same size as the rectangle. I like …

ios sprite-kit skphysicsbody