Any idea how can I get a value in the patch editor to display as text in the scene? In my case I want a countdown timer.
I’m really struggling with this since V85 updates. I’ve followed many tutorials but nothing seems to work. No matter what I do, I get ‘possible unhandled promise rejection’. The only possible work around is to remove the 2D text and add 3D text. But cannot see any reason why it only works with 3D text.
Here’s my current code (only works with 3D text).
Scene.root.findFirst('score')
]).then(function(results){
const scoretext = results[0];
Patches.outputs.getScalar('scoreCount').then(e=> {
e.monitor().subscribe(value=> {
scoretext.text = value.newValue.toString();
});
});
})