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

setorigin

From Quake Wiki

Revision as of 00:51, 25 March 2013 by Necros (talk | contribs)

Syntax:

void setorigin(entity e, vector vec)

Sets the entity e to the position specified with vec. This is the correct way of setting an entity's position in the game. Setting the .origin variable manually will cause problems with rendering.

Parameters:

e - The entity who's origin to set
vec - The new vector coordinates of the entity

Returns:

void