Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "setsize"
From Quake Wiki
Line 1: | Line 1: | ||
− | Syntax: | + | ====Syntax:==== |
<code>void setsize(entity e, vector mins, vector maxs)</code> | <code>void setsize(entity e, vector mins, vector maxs)</code> | ||
− | Sets the size of the entity <code>e</code>'s | + | Sets the size of the entity's bounding box. |
+ | ====Parameters:==== | ||
+ | :<code>e</code> - The entity who's model is being set | ||
+ | :<code>mins</code> - The coordinates of the minimum corner of the bounding box | ||
+ | :<code>maxs</code> - The coordinates of the maximum corner of the bounding box (must be larger than mins) | ||
+ | ====Returns:==== | ||
+ | :void | ||
+ | |||
[[Category:QuakeC Function]] | [[Category:QuakeC Function]] |
Revision as of 00:58, 25 March 2013
Syntax:
void setsize(entity e, vector mins, vector maxs)
Sets the size of the entity's bounding box.
Parameters:
e
- The entity who's model is being setmins
- The coordinates of the minimum corner of the bounding boxmaxs
- The coordinates of the maximum corner of the bounding box (must be larger than mins)
Returns:
- void