Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

2d matrix math

Discussion in '2D Experimental Preview' started by andyz, Aug 20, 2018.

  1. andyz


    Jan 5, 2010
    The new SVG (Vector graphics) package contains code for a 'Matrix2D' which is useful!
    But the new maths library does not exactly have an equivalent - it has 2x2, 3x3, 4x4.
    2x2 could be used if no translation but it is perhaps a 2x3? you need for 2d to be optimal and handle scale/rotate/translate.

    Anyway perhaps math lib could include one in future or Unity could incorporate one into the API as it is just useful - until then find in the SVG importer