I am trying to rotate some 3D text in place. How do I rotate it around the center of itself, not the left edge? I've tried setting the text alignment to center and that didn't help either.
let titleText = SCNText(string: "My Title", extrusionDepth: 0.8)
let titleNode = SCNNode(geometry: titleText)
titleNode.position = SCNVector3(x: 0, y: 0, z: 0)
titleNode.runAction(SCNAction.rotateByX(0, y: 5, z: 0, duration: 2.5))
scene.rootNode.addChildNode(titleNode)