I have a SceneKit view like so:
mySCNKitView.scene = a SCNScene
mySCNKitView.overlaySKScene = a SKScene
Now if I set the userInteractionEnabled
property on the overlaySKScene
, it has no effect i.e. it is always enabled and so I can't disable user interaction for the overlaySKScene
!?
All added child SKNode's to the overlaySKScene
will still receive user interaction…
i.e. this has no effect, it is always enabled
mySCNKitView.overlaySKScene?.userInteractionEnabled = true / false
I don't know if it is supposed to be this way?
But it seems like this is how one should disable user interaction for the overlaySKScene
…?
Did you ever solve this? I was experiencing a similar problem and then finally got it to work with the following:
With the above code, my entire overlay scene is ignored, events are received by the SceneKit scene as desired. This is in Xcode 7.3 beta, tvOS deployment target 9.1, so maybe it's something that Apple changed recently?