Garry's Mod Wiki

Revision Difference

Tool:GetNormal#561273

<function name="GetNormal" parent="Tool" type="classfunc"> <description>Retrieves an normal vector previously stored using <page>Tool:SetObject</page>.</description> <realm>Shared</realm> <file line="85">gamemode/sandbox/entities/weapons/gmod_tool/object.lua</file> <file line="85">gamemodes/sandbox/entities/weapons/gmod_tool/object.lua</file> <args> <arg name="id" type="number">The id of the object which was set in <page>Tool:SetObject</page>.</arg> </args> <rets> <ret name="" type="Vector">Associated normal vector with given id.</ret> </rets> </function>