Garry's Mod Wiki

Entity:SetRenderAngles

  Entity:SetRenderAngles( Angle or nil newAngles = nil )

Description

Sets the render angles override for the entity. Entity:GetAngles will return the value set by this function until the override is disabled. (This is all this does internally)

See Entity:SetRenderOrigin for the function to manipulate origin.

Arguments

1 Angle or nil newAngles = nil
The new render angles to be set to. To disable the override, set to nil.