How do you make spread and bulletdrop on a raycast gun?
Asked 125 views0 answers
Do any of you know how to make the ray cast by a gun go randomly within a "cone of fire" (like this http://www.chuckhawks.com/where_spread2.jpg) as well as angle down a degree or two to simulate bullet drop?
what have so far
local ray = Ray.new(head.CFrame.p,(mouse.Hit.p - head.CFrame.p).unit * range