Unity-Technologies / com.unity.demoteam.hair

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

Hair teleport and reset #28

Open methusalah opened 1 year ago

methusalah commented 1 year ago

I often need to teleport my characters, for example in cut scenes.

When moving the HairInstance object or parent, the hair simulation behaves like the character was moving very fast from point A to point B. The hair bounces back in position.

Is it possible to reset or teleport the hair somehow?

I found that we can disable/re-enable the HairInstance to reset the hair. This "solution" has issues:

If it's not possible, then it would be sweet to have a little documentation about how to reset the hair (I spent quite some time to find the disable/enable trick), and even better to be able to teleport the hair as-is, with its local shape and velocities.

fuglsang commented 1 year ago

Labeling as feature request.