Graham
Graham
> Garrysmod is not Matlab. Don't expect generic math function to be added to the library. They are just code bloat. I mean, not really. The GMod Lua library has...
> To me atleast orthogonalizing vectors happens quite often and I have to [code stuff like this](https://github.com/dvdvideo1234/SpinnerTool/blob/master/lua/weapons/gmod_tool/stools/spinner.lua#L299-L308). instead of just calling a function :) Some things I noticed that you...
> generic was the wrong adjective. I meant very specific use case and won't be used often. Yea, I figured that's what you meant. His push req isn't bloating code...
:-1:
Not sure if this is what you're talking about but... Going to throw my 2 cents in, use a for loop and table. Example: ```lua ents_allowed = {} function GM:PhysgunPickup(ply,...
> He's referring to the physgun trace itself. Returning false in PhysgunPickup still hits the entity but doesn't pick it up: he wants the beam to travel through the ignored...
> You could SetNotSolid whatever is blocking the beam. That would make it so the entity is not solid from everything, not just the physgun beam
@Kefta Thats not necessarily what the point of my code was, that was a placeholder value. (`render.DrawBeam`) He should save the physgun ray when shot, then use `ply:FireBullets(physgun_ray)` to shoot...
> Is there some kind of filter that I can add an entity to maby? Like what TraceLine has. Or maby some kind of flag that you set on an...
> > > Is there some kind of filter that I can add an entity to maby? Like what TraceLine has. Or maby some kind of flag that you set...