local t=.05 local E=1/t local n=(range/bulletSpeed)*E local e=range/n local S=(e*bulletDrop)/100 local W=-math.tan(S/e)


local waitBetweenSegments = 0.05
local segmentsPerSecond = 1/waitBetweenSegments
local numSegments = range / bulletSpeed * segmentsPerSecond
local segmentLength = range / numSegments
local dropPerSegment = segmentLength * bulletDrop / 100
local dropAngle = -math.tan(dropPerSegment / segmentLength)
