johnfn / Illumination

2 stars 0 forks source link

Light beams out of sync #9

Closed hhcho closed 14 years ago

hhcho commented 14 years ago

When reflected.. one frame off! AAAHH

hhcho commented 14 years ago

Fixed. Animation object was updating its elapsed time after it is drawn. So the new light beam was using the old value (which is one frame before). I've put the time update before the event trigger part.