Garry's Mod Wiki

Revision Difference

Entity:SetRenderOrigin#551542

<function name="SetRenderOrigin" parent="Entity" type="classfunc"> <description>Set the origin in which the Entity will be drawn from.</description> <description>Set the render origin override, a position where the Entity will be rendered at.</description> <realm>Client</realm> <file line="17">lua/includes/extensions/client/entity.lua</file> <args> <arg name="newOrigin" type="Vector">The new origin in world coordinates where the Entity's model will now be rendered from.</arg> <arg name="newOrigin" type="Vector" default="nil">The new origin in world coordinates where the Entity's model will now be rendered at. To disable the override, set to <page>nil</page>.</arg> </args> </function>