Raised This Month: $ Target: $400
 0% 

Entity mins and maxs - how to set properly


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-22-2011 , 03:01   Re: Entity mins and maxs - how to set properly
Reply With Quote #6

Quote:
Originally Posted by Exolent[jNr] View Post
No. The origin is in the center of the mins/maxs.



The origin is where those 3 lines intersect.
The blue lines indicate the maxs, and the red lines indicate the mins.
So, you are saying that it's irrelevant to use -16 to 16 instead of 0 to 32.

Meaning that:

Code:
entity_set_size(ent, Float:{-16.0, -16.0, 0.0}, Float:{16.0, 16.0, 32.0})
is identical to:

Code:
entity_set_size(ent, Float:{-16.0, -16.0, -16.0}, Float:{16.0, 16.0, 16.0})
__________________
fysiks is online now
 



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 23:23.


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