Im trying to make a building system that automatically builds a pole between each wall, but the displayed TraceHulls should turn green when touching an entity of the same class and it doesn't. When I change TraceHull to TraceLine it instantly works without having to make any changes.
local rtd = self:GetForward()+self:GetUp()*.85
local trRT = util.TraceHull( {
start = startpos,
endpos = startpos + rtd * 70,
maxs = maxs,
mins = mins,
filter = self
} )
https://i.imgur.com/hE9YVEg.png
https://i.imgur.com/vGoFD39.png
it works fine for me you must have done the math wrong somewhere
Are you running the code serverside or clientside? Also, what are your mins and maxs?
Im running the code on both, mins and maxs are -8 and 8 cubes.
Check if the trace passes serverside, or if any results differ between realms.
I can confirm this issue @code_gs
https://files.facepunch.com/forum/upload/58256/ab1857e3-e5cf-47be-acfe-d7b453332ed6/image.png
Both server and client would have printed in console if it hit and none of them did
Sorry, you need to Log In to post a reply to this thread.