13
$\begingroup$

Is there any way to hook, parent, or constraint something to a vertex of a particle hair strand? Such as a hair accessory dangling from a braid that needs to move with the hair?

Converting the hair to mesh isn't viable, as I then lose hair dynamics and have to rig some other way.

Scripting solutions are fine too. There must be some way to get the location of a particle hair vertex or vertices from the API. Then you could have an empty copy it or something?

$\endgroup$
  • 4
    $\begingroup$ As hair particles, it will be hard to do this. You can convert the hair to a mesh in the Modifiers tab though. $\endgroup$ – VRM Aug 23 '15 at 0:03
9
+50
$\begingroup$

I've found a method to do it. It's not perfect but it works :). It uses a Particle Instance Modifier. enter image description here enter image description here

Add a Cube (place its origin point in the same place as emitter's origin point). Scale it along the Z axis, then Subdivide, so it has the same number of loop cuts as the number of segments of your hair particles. Go to Object Mode and apply its transformations (Ctrl+A). enter image description here

Go to Modifiers header and give it a Particle Instance Modifier. Enable the modifier's settings as pictured below. enter image description here

It may not work properly though. If something's wrong just rotate your Cube 90 degress on the X axis (or Y, or Z, depending on your situation). enter image description here

Now add an object which will be following your strands and rotate it perpendicular to your Cube. Select it, then the Cube and enter the Edit Mode. Select the opposite 3 vertices, as pictured below and press Ctrl+P-->Make Vertex Parent. enter image description here

Go to Object Mode and place the following object (Torus in this case) wherever you want. Select a Cube and move it to another layer to see only the hair particles. enter image description here


EDIT: You may precisely parent any object to a chosen strand's segment. In Edit Mode select any vertices, then enable an option as pictured below (marked in red) to see where their location on the instance is. enter image description here enter image description here

Add a new object and parent it to selected vertices. enter image description here

Then place it on a proper segment's location. enter image description here

Now the object copies the location of the strand's segment. enter image description here

$\endgroup$
  • 1
    $\begingroup$ Nice try though. I think the key here is the "Create Along Paths" toggle. But it seems works for a particular controllable single hair only? Since It is still hard to target which hair stand you want to follow. $\endgroup$ – Leon Cheung Aug 29 '15 at 4:53
  • 1
    $\begingroup$ Excellent. The part in your edit is exactly what I needed. $\endgroup$ – Drudge Aug 30 '15 at 1:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.