Garry's Mod Wiki

Revision Difference

util.LocalToWorld#512266

<function name="LocalToWorld" parent="util" type="libraryfunc">⤶ <description>Returns a vector in world coordinates based on an entity and local coordinates</description>⤶ <realm>Shared and Menu</realm>⤶ <file line="79">lua/includes/extensions/util.lua</file>⤶ <args>⤶ <arg name="ent" type="Entity">The entity lpos is local to</arg>⤶ <arg name="lpos" type="Vector">Coordinates local to the ent</arg>⤶ <arg name="bonenum" type="number">The bonenumber of the ent lpos is local to</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="Vector">wpos</ret>⤶ </rets>⤶ </function>⤶ ⤶