Download

Character body customization (morphs) with dynamic cloth (NvCloth)

Hi,

I’m trying to allow customization for my characters, like making them fat or skinny. I’m using different body morph targets for that. I also have matching morphs for the clothing items.
The problem is that I also need the clothing to be dynamic, but when that is enabled (using the new clothing tools) the morph targets for the cloth meshes are ignored.

Are there any workarounds to this limitation?

The only solution I see at the moment is to just create 3 versions of the character (skinny, normal, fat) and have different clothing for each. I do not need to support too many outfits so I can live with the extra work, but it’s kinda limiting to not allow more finer control in the body size by having shapes in-between those 3.
Any other solutions?

You would have to see if you can adjust the size of a collision mesh in the physics asset through code/blueprints since it doesn’t use the actual mesh for collisions.

I hope the functionality comes back. Here’s some history going back to when APEX was still in use: APEX causes Morph Targets to not work. - UE4 AnswerHub

Yeah, it’s kinda weird that this used to work in 4.10 and was removed in later versions by design.

3 year later and its still broke

This feature is still needed.

This feature is still needed.

Needed!!! 2020

definately

We are working on it. Take a look at this and other videos on our channel and let me know if this can be of any interest

1 Like

Its by no means perfect. You potentially get a lot of clipping. But you could change the cloth collision capsule size to accommodate getting wider a few inches if your cloth paint allows for the stretch.

needing to do this, I would probably recode the solvers since they don’t work anyway and have - even in chaos- a bad interpretation of how the nvcloth system was supposed to work with backstop and all the other options.

it’s physics, so it isn’t an easy task.
But the starting position of the vertex before simulation begins has literally never been correct thought any engine version.
and a morph target would obviously cause that initial position to shift even further.

Another idea. Maybe worldspace positioned “fat density” image into the shader to move the verticis further.
Not sure if shader overwrites the cloth behavior though. It likely does.

really awsome show, especially for the cloth simulation ,is there any tech keywords of your “GPU-optimized cloth simulation” system, I want to learn something about this. or maybe you can put that on the unreal market for sale.

Thank you! please take a look at Real-Time Cloth Simulation Plugin