Garry's Mod Wiki

Revision Difference

Entity:WorldToLocalAngles#565639

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