Raised This Month: $ Target: $400
 0% 

How to find the slide direction of door(s)?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-08-2004 , 19:23  
Reply With Quote #4

The "angles" keyvalue will return which direction a func_door moves. To figure out what direction a func_door_rotating moves, you will need to figure out where the origin brush tied to it is located (I'm not sure if this is possible) and whether or not the "Reverse dir" flag is checked. I think it is treated as a vector. The format is "x y z", so it might appear as "0 90 0". Also, have you ever considered storing where the door's origin was, moving it far away, and then moving the origin back when needed?
__________________
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 17:20.


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