Unity-Technologies / com.unity.demoteam.hair

An integrated solution for authoring / importing / simulating / rendering strand-based hair in Unity.
Other
710 stars 96 forks source link

SDF collision does not respect scale of SDF #96

Closed qlee01 closed 1 month ago

qlee01 commented 1 month ago

As title says, in latest version (0.14.2 with SDF fix) collisions with SDFs generated by MeshToSDF don't wok correctly if being scaled up or down.

qlee01 commented 1 month ago

Further observation: It just seems the behavior changed; in older versions I needed to scale the transform with the SDF texture and Hair boundary according to scale of Hair Instance. In latest version, everything is good if I just don't scale. Good for me, but a change in behavior.