Ported the dynamic collision detection and added ray cast shadows and flare projectiles: