View Single Post
  #2  
Old 09-16-2005, 09:28 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Try changing the position and direction of the lightnode instead. The following code will make the light shine directly downwards:
Code:
lightNode.translate(0,2,5)
lightNode.rotate(0,90,0)

mylight = lightNode.add(viz.LIGHT)
Reply With Quote