Is it normal for an SCNNode pivot to change the nodes position?
问题 I'm trying to rotate a block by setting its pivot point to any of the corners, but it seems as though setting the pivot point actually repositions the node, keeping the point exactly where it was... for example SCNBox *box = [SCNBox boxWithWidth:1 height:2 length:1 chamferRadius:0]; SCNNode *node = [SCNNode nodeWithGeometry:box]; node.position = SCNVector3Make(0, 0, 0); [self.scene.rootNode addChildNode:node]; node.pivot = SCNMatrix4MakeTranslation(0.5, -1, 0.5); [node runAction:[SCNAction