weltensturm / wac

WeltEnSTurm's Addons Compilation for Garry's Mod
21 stars 28 forks source link

Third person camera hits stuff #56

Open MattJeanes opened 11 years ago

MattJeanes commented 11 years ago

It used to hit the tail rotor, but it continues to hit wheels.

weltensturm commented 11 years ago

not clipping through anything is ideal imo

MattJeanes commented 11 years ago

In which case you don't even need a trace, just set to camera to ply:GetAimVector():GetNormal()*dist - as I'm sure you're aware of.

weltensturm commented 11 years ago

Then it clips through everything?

MattJeanes commented 11 years ago

Correct.

Sent from my iPhone

On 5 Nov 2013, at 08:21 am, weltensturm notifications@github.com wrote:

Then it clips through everything?

— Reply to this email directly or view it on GitHubhttps://github.com/weltensturm/wac/issues/56#issuecomment-27754131 .

weltensturm commented 11 years ago

And what makes you think that is what I want?

MattJeanes commented 11 years ago

You said 'not clipping through anything is ideal' just above so I assumed that's what you wanted. Unless my definition of noclip differs from yours.

weltensturm commented 11 years ago

I used it in the sense of cutting through things, which I don't want. Also I said "no clipping", and you make it seem like it's the same as "clipping through everything" which would be kind of weird

MattJeanes commented 11 years ago

Ah I see. Well if you haven't already could you at least add the tail rotor to the trace filter? Its definitely not there in workshop version but as said you may have already done this in a previous commit.

weltensturm commented 11 years ago

wac_hc_base/cl_init.lua:318

MattJeanes commented 11 years ago

Just noticed that the trace still hits the wheels. Can you add them to the filter as well?