Unity-Technologies / com.unity.demoteam.hair

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

Disabling Physics by Strand Settings Groups #101

Open bobnehpls opened 3 weeks ago

bobnehpls commented 3 weeks ago

Is there a way to completely disable the physics calculations by group to save on performance when a group is not being rendered visually? If nothing built-in, any suggestions on how to get as close to 'no-physics' as possible?

For example, I have a HairInstance with four groups (5, if you count the "default group") and I'd like to have the default group settings signal that the hair strand group is more or less disabled, but then have the Group Overrides determine whether the designated "group" is active. I've accomplished this with rendering but can't find the best way to do this with the physics part of it. Admittedly, I don't know enough about the physics to figure this out. I'd like an option under the Solver dropdown to be 'None' so physics are just not being calculated at all.

Let me know if any screenshots would be helpful here.