 |
|
Veteran Member
Join Date: Feb 2007
Location: Tennessee
|

06-22-2011
, 05:03
Re: Entity mins and maxs - how to set properly
|
#7
|
Quote:
Originally Posted by fysiks
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})

|
It will create the same size box.
However, the origin will be on the bottom of the box since it has no mins below it.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw
I love you exolent!
|
|
|
|
|