How the hell do you do raytracing? (Calculating the place where a straight-line fired from a position first hits a solid object)
I found an old thread which suggested making a camCreate smokegrenade and giving it a very high setVelocity, then updating its position to a variable when the velocity became zero. http://www.ofpec.com/forum/index.php?topic=22254.0 Apparently this worked well.
However, I was hoping for something with a bit more finesse.
Someone in the same thread suggested abusing the game's inherent LaserDesignator which accurately paints a spot (whose position can be read by scripts).
For many years I had the idea of creating a new bullet for ArmA 2 or OFP which had no damage, no sound, no tracer and no impact animations - just for the purpose of raytracing.
Does anyone have any ideas? I think the solution would be useful to everybody.