Talk:GetElementMatrix: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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...")
 
No edit summary
 
Line 1: Line 1:
==Inaccurate camera matrix returned if interpolating==
==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 --[[User:Quiret|Quiret]] ([[User talk:Quiret|talk]]) 06:54, 9 March 2020 (UTC)
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 --[[User:Quiret|Quiret]] ([[User talk:Quiret|talk]]) 06:54, 9 March 2020 (UTC)

Latest revision as of 06:55, 9 March 2020

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)