Lighting
Lighting can be used to aid in the visualization of a simulation. By default, lighting is enabled for physical simulations (those which use a controller subclassed from PhysicalControl.tz) and disabled all other simulations.
To enable lighting or disable lighting, use the Control.tz methods enable-lighting and disable-lighting. To move the location of the light, use the method move-light. The following example shows how lighting could be enabled and setup as part of the controller object's init method:
self enable-lighting.
self move-light to (0, 50, 0).
