Talk:GetElementMatrix

From Multi Theft Auto: Wiki
Revision as of 06:54, 9 March 2020 by Quiret (talk | contribs) (Created page with "==Inaccurate camera matrix returned if interpolating== While the GTA:SA camera is interpolating between two angles and positions for a smooth transition (i.e. when entering/ex...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Inaccurate camera matrix returned if interpolating

While the GTA:SA camera is interpolating between two angles and positions for a smooth transition (i.e. when entering/exiting a vehicle), the [getElementMatrix] function does return an inaccurate matrix. Instead of returning the matrix-in-interpolation it returns the target-of-interpolation matrix. This can lead to camera calculation bugs (screen coordinate checking, custom frustum detection, etc). Github issue: https://github.com/multitheftauto/mtasa-blue/issues/1284 --Quiret (talk) 06:54, 9 March 2020 (UTC)