Test for a Hit with the Skybox?
In AMX we where able to use if (PointContents(origin) == -6), but in the Source 2007 they changed that i guess "CONTENTS_SKY doesn't exist in the new engine".
Does someone have an Idea how to realize this properly in SP? REF |
Re: Test for a Hit with the Skybox?
Code:
public bool IsOutside() |
Re: Test for a Hit with the Skybox?
Thanks, what a fine Piece of Code.
Say, whats the Difference to SURF_SKY2D? The Description isent that good SURF_SKY // don't draw, but add to skybox SURF_SKY2D // don't draw, indicates we should skylight + draw 2d sky but not draw the 3D skybox |
All times are GMT -4. The time now is 04:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.