when i create a new light how do i rotate the light itself? there's a light.setdirection and light.direction and light.node.direction stuff but i dont know what to do
mlight.SetPosition(x, y, z);//position of the light
mlight.SetDirection(lookatX, lookatY, lookatZ);//position where the light is looking
Hope that helps alittle
i think you can attach the light object to a SceneNode., then only rotate de SceneNode. Mmm this also can be usefull for object that emit lights and are in motion or changing prositions,Â¿ a moving torch maybe??