I'm setting the parent of a light to a node in scene2. The light does not illuminate the scene.
Code:
import viz
viz.go()
SIM_SCENE = viz.Scene2
viz.scene(SIM_SCENE)
viz.MainView.getHeadLight().disable()
worldInAnotherScene = viz.addGroup(parent=viz.WORLD, scene=SIM_SCENE)
mylight = viz.add(viz.LIGHT, parent=worldInAnotherScene)
viz.add('female.cfg', parent=worldInAnotherScene )
Can you set the parent of a light to a node? Why does the light not respect the scene of the parent?