SKPhysicsBody Change Center of Mass
问题 I am currently working on a game where I have a picture of a kind of cylindrical object, and I make an SKPhysicsBody with the following: self.oval.node.physicsBody = SKPhysicsBody(texture: self.oval.node.texture, size: self.oval.node.size) This method creates a nice shape around the node, however, the center of gravity is way off... It balances on the tip of the oval. Is there anyway to change that so it balances where the heaviest part should in theory be? Thanks! 回答1: The center of mass can