PhysObj:WorldToLocalVector
Description
Transforms a worldspace vector into the local space of the physics object merely by the rotation of the inverted PhysObj:GetPositionMatrix().
In contrast to PhysObj:WorldToLocal, this function doesn't translate the vector.
Garry's Mod
Rust
Steamworks
Wiki Help