Garry's Mod Wiki

Revision Difference

Entity:LocalToWorldAngles#565521

<function name="LocalToWorldAngles" parent="Entity" type="classfunc"> <description>Converts a local angle (local to the entity) to a world angle.</description> <description>Translates an angle relative to the entity's coordinate system to a worldspace angle.</description> <realm>Shared</realm> <args> <arg name="ang" type="Angle">The local angle</arg>⤶ <arg name="ang" type="Angle">A local space angle.</arg>⤶ </args> <rets> <ret name="" type="Angle">The world angle</ret>⤶ <ret name="" type="Angle">The correspondent worldspace angle.</ret>⤶ </rets> </function>