I want to check ray collision after I move the objects in the scene. But the debugger tells "Scene graph must be updated before checking collision". Is there any function I can call to update the scene graph when I change the scene.
rootNode.updateGeometricState()
normen said:
rootNode.updateGeometricState()
It works. Thanks!
It also worked when I called update(), but I think updateGeometricState() is better.