Garry's Mod Wiki

Revision Difference

PhysObj:WorldToLocal#512650

<function name="WorldToLocal" parent="PhysObj" type="classfunc">⤶ <description>Converts a vector to a relative to the physics object coordinate system.</description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="vec" type="Vector">The vector in world space coordinates.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="Vector">The vector local to <page>PhysObj:GetPos</page>.</ret>⤶ </rets>⤶ </function>⤶ ⤶