79154559

Date: 2024-11-04 07:42:36
Score: 1.5
Natty:
Report link

Anyway, thank you for the help. I've found the root cause, in case anyone got similar issue.

So, notice that I'm only assign the cameraNode to sceneView.pointOfView, turns out you should also insert the camera to the rootNode.

As for what does it's only work after I tapped the screen, I had no idea.

sceneView.pointOfView = cameraNode
sceneView.scene.rootNode.addChild(cameraNode)
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Yahya Ayyash