I'm making an hair salon game in which the player can brush (move) the character's hair. The effect I want is pretty much this one
(go to minute 2.00)
What's a good way to achieve this?
What I tried:
IK constraints
this solution is perfect if I need to move an arm or a leg but doesn't feel right for an hair, since the joint between the bones can bend only in one direction (given by the "positive/negative" option in Spine)
path constraint
the problem here is that there's no target to move at runtime and I don't really know how to handle the drag
hinge chain
again, the way the hair moves seems right but I can't find a way to implement the correct dragging at runtime