76
The X-Com Files / Re: The X-Com Files online Wiki
« on: March 27, 2020, 11:49:23 pm »
well what you´d basically do is create a cone. starts from firing point (spiky end of cone) and goes to target (round end of cone, with angle "maximum angle error"). then you look at the circle you´ve just made (the cone end) from firing position. everything that is target unit voxel in the circle is hit. everything that is anything else (e.g. a tree standing 20m before target, covering like half the circle from your sight) is not. count voxels and the ratio is your hit probability. accurate, fast and technically simple. (if distortion is not linear need to calculate a factor in)
Of course the concept being easy has no correlation to implementation effort...
Of course the concept being easy has no correlation to implementation effort...