I’m having an issue with some hair getting stuck inside the torus collider at the beginning of the simulation.
I tried increasing the collision passes, then the constraint iterations and finally the substeps up to 5 but none of this solved the problem.
I then animated the scale of the torus to go from 0 to 1 over a few of the 1st frames and it kind of worked but I still get some glitches at the start. And now the animation isn’t looping properly anymore.
Hey Damien,
The hairs are probably getting stuck because they’re intersecting right at frame 1, so making collisions more accurate won’t fix this problem. The solution I’d use is keyframe the first radius on your torus node: Start out with a large torus, that won’t interect with any hair and then, over the next 15 frames or so, animate it smaller so it starts colliding with the hairs. You can get rid of this lead-in animation with a Time Shift node at the very bottom of the setup: Just write “$F + 15” in the expression on the Frame parameter of that node, to shift the entire timing back 15 frames or the length of your lead in animation.
Making this a looping animation is a bit more involved though and I will cover this in a future video.
Hi Christopher,
Thank you for your course !
I’m having an issue with some hair getting stuck inside the torus collider at the beginning of the simulation.
I tried increasing the collision passes, then the constraint iterations and finally the substeps up to 5 but none of this solved the problem.
I then animated the scale of the torus to go from 0 to 1 over a few of the 1st frames and it kind of worked but I still get some glitches at the start. And now the animation isn’t looping properly anymore.
How would you approach solving this ?
Thanks for your help !
Damien
Hey Damien,
The hairs are probably getting stuck because they’re intersecting right at frame 1, so making collisions more accurate won’t fix this problem. The solution I’d use is keyframe the first radius on your torus node: Start out with a large torus, that won’t interect with any hair and then, over the next 15 frames or so, animate it smaller so it starts colliding with the hairs. You can get rid of this lead-in animation with a Time Shift node at the very bottom of the setup: Just write “$F + 15” in the expression on the Frame parameter of that node, to shift the entire timing back 15 frames or the length of your lead in animation.
Making this a looping animation is a bit more involved though and I will cover this in a future video.
Cheers,
Chris
Hi Christopher,
Thank you so much for your reply !
I’ll try this 🙂
Cheers,
Damien