I’ve been having some difficulty with my entity i’ve been working on for the last 4 days now, I just can’t seem to position the ‘render.DrawLine()’ correctly. What I’m trying to do it position the line as if it’s like a lazer on a gun. I’m basically trying to position it straight to come outwards from the muzzle of the gun.
– Picture of turret.
cam.Start3D2D(pos, ang, 0.7)
render.DrawLine(self:GetGunBase():GetPos(), self:GetGunBase():GetAngles():Forward() * 100, Color(255,0,0,255), true ) cam.End3D2D()
– If someone can help me I’d really appreciate it, thank you.