I tried that, any other thoughts on why I can't get it to light correctly in scene 2? This is what I tried:
Code:
viz.disable(viz.LIGHTING, 2) # Disables the lighting of the world
viz.collision(viz.ON)
viz.phys.enable() # Needed to catch collision events
# Adding object
obj = viz.add(object, viz.WORLD, 2);
obj2 = viz.add(object, viz.WORLD, 2);
headLight = viz.MainView.getHeadLight()
mylight = viz.addLight(viz.WORLD, 2)
mylight.enable()
mylight.position(0, 100, 0)
mylight.intensity(0.85)
Is there any other way to approach setting up the lighting?