Jump to content

HDT SMP Hair collision with armor


Recommended Posts

Posted

Hi fellas. 

 

Finally got my HDT SMP physics to work perfectly. i downloaded YunDao's amazing hairs and they work great too. 

 

Just one issue. When my character is naked, the hairs all bounce off the character's back as they are intended. However, when I put on some armors, in this case COCO's Chunli Qipao armor (I downloaded the bodyslide files of course, the physics on the armor itself is flawless), the hair clips straight through the body, a sign that there is no collision model on that armor or something along the lines there. 

 

Can someone please tell me what exactly is causing this, and how to fix it? I can edit the XML files, but there don't seem to be any with the COCO armor. 


Thamks Frens

Posted

Yundao SMP hair wigs use proxyobjects (head, body, ground) for collisions and are part of the hair wig NIF (you can see them if you open the hair nif in outfit studio).

Hair vertexes are not colliding with the outfit meshes, but with the proxy objects. All of the collision shapes are defined as private meaning the defined collisions are limited to the meshes in the NIF.

Note that used body proxy object is some generic UNP or CBBE mesh so if you make an extreme proportioned custom body preset in the OS the collisions will not be perfect even when naked.

 

There are two ways to fix it:

1) If you want to keep it simple, but not as acurate then slightly increase the collision margin for body proxy object in the hair xml you use (or increase margin just for the bones you need, but that will require some mesh inpection)

or

2) If you want it perfect then make the hair meshes collision definitions as public and also make the outfit meshes (yes, all of the outfits you use) public as triangle collision shapes. Further tweaking of nonbone/weighttreshold collision parameters might be required (yes again for each outfit you use).

 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...