Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Difference between revisions of "setsize"

From Quake Wiki

(testing categories)
Line 1: Line 1:
 
Syntax:<br/>
 
Syntax:<br/>
<code>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 bounding box.  This is calculated from the origin (<code>'0 0 0'</code>).  <code>mins</code> must be smaller than <code>maxs</code>.
 
Sets the size of the entity <code>e</code>'s bounding box.  This is calculated from the origin (<code>'0 0 0'</code>).  <code>mins</code> must be smaller than <code>maxs</code>.
 
[[Category:QuakeC Function]]
 
[[Category:QuakeC Function]]

Revision as of 00:36, 25 March 2013

Syntax:
void setsize(entity e, vector mins, vector maxs)

Sets the size of the entity e's bounding box. This is calculated from the origin ('0 0 0'). mins must be smaller than maxs.