This reference document will show where to download the .zip file as well as some details regarding the supplied example files for the Chaos Panel Cloth Editor (Beta 5.4).
https://dev.epicgames.com/community/learning/tutorials/Ybvo/unreal-engine-panel-cloth-example-files-5-4
Thank you!!
Heads up, when you open the cloth assets, theyâll create new dataflow graphs instead of using the included ones, so youâll have to rereference them in the details panel. You can safely delete the generated ones.
Youâll also need to assign the skeleton to the Quinn mesh / animation. Additionally reimport the .usda file and set the static mesh for kinematic colliderâs StaticMeshImport node.
I kept getting various errors when running through the instructions: Invalid input for LOD 0, LOD 0 has no valid data, failed to transfer skin weights⌠but after creating a couple new projects and retrying I managed to get it to work.
Edit: Also set the skeletal mesh for the TransferSkinWeights node.
Oh yes Iâve tried and tried but canât get it to work. I wonder what your secret is??? lol
Hereâs what I have tried so far to make it work:
When I loaded this up, the PROXY cloth asset was assigned to a Dataflow Asset (DA_5_4_Demo_Proxy_Dataflow) that doesnât have a âbranchâ node. I wanted to follow timâs instructions, so I had a look at there is another - similarly named - dataflow (DA_5_4_Demo_Proxy), so I switched it to that, and that one has a Branch.
The USDImport wasnât connected so I re-imported the USD.
The third node (TransferSkinWeights) didnât have a Skeleton Mesh set in the dropdown, so I set it to âSKM_Quinnâ.
In the KINEMATIC COLLIDER comment box, the StaticMeshImport didnât have an assigned static mesh, so I set it to âSM_Quin_LOD2â.
Each of the SELECT nodes give an error when I click on them. "Invalid selection Found invalid selection indices for group âRender Verticesâ. In the log, thereâs many many entries in yellow that say things like this:
âLogChaosClothAssetDataflowNodes: Warning: Selection index 5,644 not valid for group âRenderVerticesâ with 0 elementsâ.
Did you set the static mesh import for the kinematic collider?
Yes I did that - but maybe its set to the wrong thing. What did you set it to? I set it to âSM_Quin_LOD2â.
Actually I just clicked on the USDImport node again, and reimported again, and it has suddenly appeared (the garment in the window on the right). Iâll keep going, Iâm not sure what the factors are.
The cloth layers are still piercing each other though. And it just crashed. Anyway, its good to be moving forward! Iâll figure this out, Iâm determined!
Oh, I missed that, sorry. Yeah I set it to the same. Are you using SKM_Quinn_CLOTH_5_4? ( Not sure if that matters. )
Am I using âSKM_Quinn_CLOTH_5_4â for the preview scene mesh, you mean? Yes
Okay Iâve made progress. This seems to be a series of events that get it to work to a degree:
- I click all the SELECT nodes, so it gives the error "Invalid selection Found invalid selection indices for group âRender Verticesâ for every single one.
- Then in the branch node before the ClothAssetTerminal, I make the CONDITION checkbox TICKED (this is to bypass the kollider stuff, just temporarily)
- Then I go back and click the USDImport node, and then in Node Details I click âreimport assetâ. It then says EVALUATING NODES which means its actually registering it (sometimes it doesnât âseeâ the usd I think, unless you click âreimport assetâ on the USDImport node).
- Then I go back to the BRANCH node and I switch the checkbox off.
- The garment fully appears, and seems to be âlayeredâ but not simulating.
- If I change the dropdown in the preview scenes settings to add animation âquinn cloth jogâ, it crashes.
Did you assign the skeleton to the jog animation?
Yes, in the preview scene settings tab Iâve set skeletal mesh asset to SKM_Quinn_CLOTH_5_4. then the Animation Asset dropdown is the one that makes it crash when I click on AS_Quinn_Cloth_JOG_5_4
It doesnt instantly crash. It only crashes when I press PLAY in the top right viewport
Your TRANSFER SKIN WEIGHTS is def âSKM_Quinnâ yes? And your Physics Asset is set to PA_Mannequin? And you have both branches set to FALSE, yes?
Does your animation sequence have the skeleton assigned though, like are you able to actually open the animation sequence outside of the cloth asset and see it playing?
Mine is set to SKM_Quinn_CLOTH_5_4 for TransferSkinWeights and the preview. I donât think physics asset is needed if youâre using the kinematic collider. Mine isnât set.
Yes both branches are false.
Ok Iâll try to look at that. Thanks
OH INTERESTING. When I double click on that animation, it says âCould not find the skeleton for Anim 'AS_Quinn_Cloth_JOG_5_4â would you like to choose a new one?". Do I say yes? Iâm trying that. And choosing âSKM_Quinn_CLOTH_5_4_Skeletonâ. Oh. That makes it go invisible. LOL.
that would be awesome - my email is toby@virtualfilmer.com
You rock!
The Panel Cloth Example Files (5.4) tutorial provides a comprehensive guide on using panel cloth in Blender. It covers various aspects such as creating cloth panels, adjusting settings for realistic simulation, and adding textures for visual appeal. The tutorial includes downloadable example files that users can use to follow along and practice. It also offers tips and tricks for optimizing cloth simulations and achieving desired effects. Whether youâre a beginner or an experienced Blender user, this tutorial is a valuable resource for mastering cloth simulation techniques.
@WILDLAND-IA-DEV Thanks buddy for posting that!
The problem is - in your video and in the project itself, the clothing isnât simulated. Itâs just skinned. See how it isnât moving around when the character moves around?
I activated simulation etc in the playmode but that doesnât simulate it either.
If you compare this to the Project Talisman videos from GDC, where the clothes fully simulate and have layers, its v different.
What I mean is, to actually simulate, the branches at the end need to be false and true. (false and false just bypasses all the nodes we want).
And when I change that last one to true, the garment is def not setup properly. The layers of the garment all intersect etc etc and donât respect the layers that were setup.
Not sure what is going on really
Hereâs a quick video demo:
I just tried doing my own garment and realized this! Had the same issue with the cloth clipping through and the simulation was very slow.
Yes, I wonder if we are on an entirely different version of Unreal to Tim? At this point thatâs my only guess
@gozerKeymaster responding here as well, after much troubleshooting I canât get the kinematic collider to work. Have you tested importing the example files to a new project on your end? Several things seem to break as per above.