Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Glitch? - Cloth Component on Mesh With a Negative Scale Makes the Material Render Differently

Discussion in 'High Definition Render Pipeline' started by magehuntz, Sep 9, 2021.

Thread Status:
Not open for further replies.
  1. magehuntz

    magehuntz

    Joined:
    Mar 24, 2017
    Posts:
    23
    Hello!

    I'm creating a character for my game, and would like to use the cloth simulation in unity. The thing is, since it's a Fighting Game, the character needs to be rotated when exchanging sides with the opponent. As such, I've chosen to do it by setting the mesh z scale to -1 depending on which side the character is.

    The thing is, I have a piece of cloth with a Cloth Component attached to my character, but when I set the Z scale to -1, the rendering of said cloth gets strange, its as if the color and smoothness are being affected for no apparent reason. The simulation works just as fine, but for some reason the way it's rendered changes drastically.

    Edit: Removed the images. I've circumvented the issue by rotating the character and mirroring the animations instead. I will keep this thread up for archive purposes, though. As of this edit (09/20/2021) the bug is still present.
     
    Last edited: Sep 20, 2021
    makaka-org likes this.
  2. magehuntz

    magehuntz

    Joined:
    Mar 24, 2017
    Posts:
    23
    Bump

    Does anybody know if there is a way to fix this?
     
  3. magehuntz

    magehuntz

    Joined:
    Mar 24, 2017
    Posts:
    23
    Hello, could somebody tell me if this is indeed a bug or if cloth components can't work with negative scales? If there is any way to solve this or not, anything? :(
     
  4. Ruchir

    Ruchir

    Joined:
    May 26, 2015
    Posts:
    927
  5. magehuntz

    magehuntz

    Joined:
    Mar 24, 2017
    Posts:
    23
    Just bumping this. Is there no information on the matter whatsoever?
     
Thread Status:
Not open for further replies.