env_sun GetPos

Just wondering what the best way to parse the angle of env_sun to GetPos would be (in order to traceline to it)? No idea even where to start with this. (not specifically GetPos, just parse sun angle to position in the map)

For the love of god…


No you cannot get the direct position of the sun, but you can make a hack that would pretty much do the same thing (since sun is “orthographic”)