I want to do 3 traces, 2 of which are offset +/- 12 degrees from the first trace. The code below works but is very poorly written since I’m sure there is just some vector math I can do to accomplish the same thing. Any ideas?
local pos = self.Owner:GetShootPos()
local dir = self.Owner:GetAimVector()
local ang = dir:Angle()
ang:RotateAroundAxis( self.Owner:GetUp(), 12 )
local rotatedDir = ang:Forward()
return (pos + (rotatedDir * 150))