Revision Difference
PhysObj:WorldToLocal#565525
<function name="WorldToLocal" parent="PhysObj" type="classfunc">
<description>Converts a vector to a relative to the physics object coordinate system.</description>
<description>Translates a worldspace vector into the local space of the physics object.</description>
<realm>Shared</realm>
<args>
<arg name="vec" type="Vector">The vector in world space coordinates.</arg>
<arg name="vec" type="Vector">A worldspace vector.</arg>
</args>
<rets>
<ret name="" type="Vector">The vector local to <page>PhysObj:GetPos</page>.</ret>
<ret name="" type="Vector">The correspondent local space vector.</ret>
</rets>
</function>
Garry's Mod
Rust
Steamworks
Wiki Help