I looking for to use Apex Clothing tool for hairs in Unreal engine 4. I’d like to know how can I collide the hair’s faces with a character. I have configured the Max distance and the Backstop but i don’t understand how to make the character as collision.
Geodav, I see you configure two collisions “bones” to the stick of your flag. In my hairs, i have a “skeleton”. It doesn’t work.
ULLS, It’s interresting but i need more precisions: how have you done for have this result ? I don’t understand why you can done this and not me.
And what value of the backstop is to 0 ? Painting i suppose ?
For a mesh of hairs, should I parent an armature with it or can i use it like a “Static mesh” ?
I’ve not done anything special here, I simply used the backstop according to the Apex Clothing Tool documentation
In terms of precision, you’ll need to paint the backstop with a value of zero. You wont get any greater precision using collision volumes, in fact the precision would be much worse actually. The reason the hair on my model doesn’t look great is simply because the hair model hasn’t been designed for this use case. I could easily get a better result by designing the hair with Apex cloth in mind.
The character you see in my video was generated and rigged using Mixamo Fuse and their cloud based rigging service but the hair itself is essentially just a static mesh and has no ‘hair’ bones although it would have been automatically vertex skinned to the skeleton in Mixamo’s auto rig process so make sure you’ve skinned the hair correctly.
Here’s a step by step guide of how I did it…
Open the Apex Clothing Tool
Selected only the hair submesh
Clicked the generate tangent space button
With backstop selected, painted the entire hair mesh with a value of zero
Painted the Max Distance on the areas of the hair that I desired to move
Tweaked some of the physics sim settings to suit (i.e. gravity scale)
Saved the file and loaded it into UE4.
As I mentioned earlier, I had also experimented using collision volumes instead, however It didn’t work very well for hair and backstop was the better of the two options.