Garry's Mod Wiki

Garry's Mod Wiki

  VMatrix VMatrix:GetInverseTR()

Description

Returns an inverted matrix without modifying the original matrix. This function will not fail, but only works correctly on matrices that contain only translation and/or rotation.

Using this function on a matrix with modified scale may return an incorrect inverted matrix.

To get the inverse of a matrix that contains other modifications, see VMatrix:GetInverse.

Returns

1 VMatrix
The inverted matrix.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...