Search Unity

Feature Request Mesh deformation for 2d

Discussion in 'Graphics Dev Blitz Day 2023 - Q&A' started by linosia97, May 24, 2023.

  1. linosia97

    linosia97

    Joined:
    Jul 8, 2018
    Posts:
    34
    When or if at all will mesh deformations be available in the standard unity 2d animation package?
    Any portrait addon (which using unity resources to work, no separate standalone) already has this feature. Spine 2d has this feature. Live 2d...
    This feature is the one that gives the illusion of the 3d while using 2d assets... And it's missing from Unity's package :)

    AnyPortrait | Animation Tools | Unity Asset Store

    Any plans?
     
    Last edited: May 24, 2023
  2. linosia97

    linosia97

    Joined:
    Jul 8, 2018
    Posts:
    34
  3. MarekUnity

    MarekUnity

    Unity Technologies

    Joined:
    Jan 6, 2017
    Posts:
    207
    Hi @linosia97,

    Do you mean free-form deformation (FFD)? We currently don't have that feature, but it doesn't mean it will not be added in the future. Our current mean of mesh deformation is through the skeleton manipulation.

    You can achieve the 3D effect with bones as well (with lower precision). There is a animation rigging package designed for 3D animations, but can be used to 2d animation as well, that can help you to create complex rigs and immitate 3D.

    Here is an example comparison of animating the same character with Unity vs Spine. However, instead of using the built-in constraint components, I would advise to use the animation rigging that I mentioned.
     
    linosia97 likes this.
  4. MarekUnity

    MarekUnity

    Unity Technologies

    Joined:
    Jan 6, 2017
    Posts:
    207
    It's not inclunded in the samples, That character is quite complex, with dozens of bones to control it. In our package samples we decided to keep things simple to make it easier for users to understand the basic concepts behind the skinning and animation workflows.
     
    linosia97 likes this.
  5. linosia97

    linosia97

    Joined:
    Jul 8, 2018
    Posts:
    34
    Thanks for reply :)
    Well, it’s a shame you don’t have this feature on roadmap, but thanks for animation rigging package suggestion)
    As for Unity vs Spine 2d comparison video, yeah, I’ve seen it, and the most difference was exactly this free-form mesh deformation
     
  6. linosia97

    linosia97

    Joined:
    Jul 8, 2018
    Posts:
    34
    Can you post it to github though?
    Would be awesome to check out for many users anyway :)
     
  7. MarekUnity

    MarekUnity

    Unity Technologies

    Joined:
    Jan 6, 2017
    Posts:
    207
    Let me see what we can do! :)
     
    mgear and linosia97 like this.
  8. linosia97

    linosia97

    Joined:
    Jul 8, 2018
    Posts:
    34
    Any news on it?
    Would be really interesting to test this sample :)
     
  9. linosia97

    linosia97

    Joined:
    Jul 8, 2018
    Posts:
    34
    May I ask you if you can find this demo? Please?
    MelvMay said I should ask you once more about this interesting demo ;)
    I want to understand how the eye blinking works here, the crystal hovering behind the witch and emerging again -- this is the stuff I am interested in.
    Any chance you can send it directly somehow? Via filesharing?
    Or you don't have access to this demo at all?
    Please :)

    P.S. the robot and especially dog animation would be a great addition too! :)
     
    Last edited: Jan 22, 2024
  10. linosia97

    linosia97

    Joined:
    Jul 8, 2018
    Posts:
    34
  11. MarekUnity

    MarekUnity

    Unity Technologies

    Joined:
    Jan 6, 2017
    Posts:
    207
    Hi, @linosia97 let me share with you a link to the github repo once I upload these characters.
     
    linosia97 likes this.
  12. MarekUnity

    MarekUnity

    Unity Technologies

    Joined:
    Jan 6, 2017
    Posts:
    207
  13. linosia97

    linosia97

    Joined:
    Jul 8, 2018
    Posts:
    34
    MarekUnity likes this.