Skip to content

Cloth is super stretchy, no way to reduce elasticity #13

@hsandt

Description

@hsandt

Thanks for making this plugin, I was trying to make a 2D cloth for a scarf for my character, following the tutorial to attach it to a moving character.

However, whatever parameters I use, it stretches a lot more than expect. I expected it to be a little elastic, but in this case it goes much too far when the character moves around.

2024-11-05_15-37-13

2024-11-05_15-37-15

I can reduce Softness (in pin point mode) to 10 but still, I get a long scarf:

2024-11-05_15-37-37

and playing with other parameters and spring mode makes it even worse:

2024-11-05_15-48-47
2024-11-05_15-49-16

Is there a way to simply ensure the cloth never stretches more than, say, 5% of its original size, for reasonable character speeds?

I like the Asparagus in the GIF demo in the README, it doesn't stretch too much. But then again it's not attached to a character - plus for some reason I can't find the scene shown in the gif in the addon samples folder.

I've been looking at this other 3rd party solution: https://github.com/coffe789/Godot-2D-Cloth-and-Verlet-Physics-Simulator but it's quite hardcoded and so it seems harder for me to switch from a square cloth to a rectangle cloth like my scarf.

I may try to just use pin points and some custom physics bodies for now...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions