I have this object inside Blender with a shape key.
The shape key is working in three.js correctly so I can manipulate it with morphTargetInfluences .
What I want is to place an object on the very top that follow it when the shape key change .
- I was thinking of adding the top vertices to a vertex group, then in three.js get their world position and create and add the child object to the scene with these coordinate. But I didn’t figure out how to get the vertex group world position in three.js.
- Another option is to make the center of object inside Blender the top vertices and add the child object there but it seem that it dosen’t work very well with shape keys .
Any idea on how this can be done is welcome.