- Bearbeitet
Hair secondary motion... Best way?
Hi there,
Some of you may remember that I've been more or less vocal about the lack of embedded physics in Spine, but this is not a "give this to me!" thread.
It's about that, now that I'm trying to replicate what I did with the use of physics in other software, I'm not sure about the best way to 'manually' implement hair bouncing and waving animations in Spine.
I have three separate layers for my character's hair:
- Main hair
- Ponytail
- Long side bang
I already did the side bang with a simple chain of bones. They rotate a little with each stride of my walking cycle to give a spring effect. I suppose I can do the same for the ponytail, adding some lateral swinging as well.
The main hair is supposed to be static, except for some 'spikes' that I want to add a little bouncing. I also made some small bones and adjusted the weights so only the 'spikes' are affected by those bones.
That along with some transform and mesh stretching could do the job of replicating the Creature bend physics motor I've been using.
But...! Is there a way to achieve similar results without the need of manually tinker with so many variables at the same time?
Could IK, path and transform constraints, or whatever other feature of Spine, help in the process of 'automatically' animate long hair strands?
Thank you.
You won't be able to "automatically" animate long hair strands. But what you could do is use transform constraints with some offsetting to maybe only have to animate a single strand of hair.
For example here I've constrained the scale of the three red bones to the selected bone. Bild entfernt wegen fehlender Unterstützung für HTTPS. | Trotzdem zeigen
Another option you have is to use physics at runtime to automatically calculate secondary motion.
Hey good idea!
Maybe I could even set a bone for odd bones in the strands and then another for the even ones, so I could emulate some waving effect a little more easily.
As for the physics in-game, it's not my preferred solution due to the lack of fine tune. Moreover, the majority of examples I've seen result in too bouncy animations, and I'm aiming for as much realism as possible.
But who knows... maybe there's some good plugin for that...
I'll try with your suggestion, thank you. :yes: