Suggestion : Once an AMS projectile hits a target, only then check one single time if there is a direct line of sight between the AMS projectile and the AMS launcher it came from. If there is no direct line of sight between them that means the AMS had to travel through the background (or another mech) to reach it's target, and so should not be counted as having reached it's target.
This reduces the CPU requirement hundred fold, while correctly performing the missing collision check.
Edited by Humble Dexter, 27 October 2019 - 09:53 AM.