How to place text in the certain position when using SceneKit?
问题 I have tried to follow the same simple logic as for cylinder, box … , so just by defining the position for textNode, but it is not working. func makeText(text3D: String, position: SCNVector3, depthOfText: CGFloat, color: NSColor, transparency: CGFloat) -> SCNNode { let textTodraw = SCNText(string: text3D, extrusionDepth: depthOfText) textTodraw.firstMaterial?.transparency = transparency textTodraw.firstMaterial?.diffuse.contents = color let textNode = SCNNode(geometry: textTodraw) textNode