Why do these lines of code work:
let text = NSString(string: "Test")
(node.geometry as! SCNText).string = text
but these ones don't:
let text = NSAttributedString(string: "Test")
(node.geometry as! SCNText).string = text
When using attributed text the SCNText
simply does not show up. Any ideas?
Thanks.