When i am doing a hitTest, i want a object to be ignored in the hitTest, so that the hitTest ray goes through it. I think that this is possible with a categoryBitMask.
I have a different categoryBitMask for the object that i don't want to be in the hitTest, and different for the ones i do.
This is how i think it should work, but i just need to find the correct way to do this:
var hitResults = scnView.hitTest(location, options: [SCNHitTestOption.categoryBitMask != 10])
With this i get the error that SCNHitTestOption can not be Bool or something like that.
So i want to know what is the correct way to use this option, to ignore objects whose categoryBitMask is 10.