Position state checking visualized (GMOD)
The lines you see are intended to check if you're indoors or outdoors. 1 trace is ran from an offset and into the sky, and the second trace is ran from the base of the first trace to the ear position to determine if it spawned inside a skybox or a solid (a very apparent problem in gm_construct). This is probably the best way to do it.
The lines you see are intended to check if you're indoors or outdoors. 1 trace is ran from an offset and into the sky, and the second trace is ran from the base of the first trace to the ear position to determine if it spawned inside a skybox or a solid (a very apparent problem in gm_construct). This is probably the best way to do it.