Talk:GetElementMatrix

From Multi Theft Auto: Wiki
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 (contains video material): https://github.com/multitheftauto/mtasa-blue/issues/1284 --Quiret (talk) 06:54, 9 March 2020 (UTC)