WIP: ray of light problem; add some trajectory logic.