Garry's Mod Wiki

Revision Difference

Entity:WorldToLocalAngles#565519

<function name="WorldToLocalAngles" parent="Entity" type="classfunc"> <description>Converts world angles to local angles ( local to the entity )</description> <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">The world angles</arg>⤶ <arg name="ang" type="Angle">A worldspace angle.</arg>⤶ </args> <rets> <ret name="" type="Angle">The local angles</ret>⤶ <ret name="" type="Angle">The correspondent local space angle.</ret>⤶ </rets> </function>