Search Unity

Scaling cloth colliders up

Discussion in 'Physics' started by jchowdown-asla, May 21, 2019.

Thread Status:
Not open for further replies.
  1. jchowdown-asla

    jchowdown-asla

    Joined:
    May 10, 2017
    Posts:
    26
    Hi, our artists want to use animation scaling to enbiggen our characters during a special attack. We expect them to increase the scale factor by 4-5. When we apply this to a caped character (Cloth component with capsule collider), the cape starts deforming at about 1.3x scale. For reference:

    upload_2019-5-20_19-1-23.png
    This is at 1x scale


    upload_2019-5-20_19-2-2.png
    This is at 2x scale


    upload_2019-5-20_19-2-27.png
    This is at 5x scale. The cloth no longer moves when the collider parent is moved along with it.

    Does anyone know how to make the cape scale up along with the main game object?

    Thanks,
    Jeff
     
  2. SparrowGS

    SparrowGS

    Joined:
    Apr 6, 2017
    Posts:
    2,536
    I don't have any experience with cloth (I keep holding off on using it, i actually need it for my current game),
    but what I would do is first check the docs to see if they say anything about scale,
    also check and see if it goes weird when scaled down, if so - make it so that 1 scale is the biggest and normally it's on .2 (if you need 5x scale for example)

    I personally try and avoid changing the scale on any physics related object, unity seems to hate it.
     
Thread Status:
Not open for further replies.