I have been using the remove(node) and add(node) ARKitController's functions to erase the node when it's not tracked, but it started to delay a little when working with multiple nodes.
There is a isHidden property in the SCNNode class, which I figured would solve the problem. It simply does not render the node, instead of deleting it.
It's implemented using the ValueNotifierConverter() but I am not sure it is the best approach. Please point me in the right direction if you may.
Hey there,
I have been using the remove(node) and add(node) ARKitController's functions to erase the node when it's not tracked, but it started to delay a little when working with multiple nodes. There is a isHidden property in the SCNNode class, which I figured would solve the problem. It simply does not render the node, instead of deleting it. It's implemented using the ValueNotifierConverter() but I am not sure it is the best approach. Please point me in the right direction if you may.
Regards, Mochetti