Raised This Month: $ Target: $400
 0% 

Detecting Void


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-16-2007 , 17:02   Re: Detecting Void
Reply With Quote #10

Using MOVETYPE_NOCLIP and working your own gravity, the skybox is irrelevant. Since MOVETYPE_NOCLIP is not solid, it won't hit the skybox.

However, as you pointed out, you'll still want to see if it hit something. So, you can check its point contents for CONTENTS_SOLID every think, or draw a trace from its old destination (pre-gravity) to its new destination (post-gravity) and see if it hit something.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode