Forum

[SOLVED] Make anchor follow bone movement

30 September 2017 20:14
I have a (custom element) anchor that must follow the movements of a bone in an armature. (The anchor div with a descriptive text is supposed to follow the bone.)

I tried the "Copy Location" constraint and set the correct bone, but in B4W the anchor only follows the armature (origin) itself, not the specified bone, so I guess this is not supported yet? But maybe somebody knows a way (or a hack) to achieve this effect?
02 October 2017 13:04
I tried the "Copy Location" constraint and set the correct bone, but in B4W the anchor only follows the armature (origin) itself, not the specified bone, so I guess this is not supported yet? But maybe somebody knows a way (or a hack) to achieve this effect?
Hi, you can parent your anchor to the bone and it will follow the bone.
Blend4web and that kind of thing.
02 October 2017 22:46
Yeah! I tested it on the startup scene (camera, cube, lamp) with a default rig and it works.

It's just not working in my own scene. All right, now I have to find out why…
02 October 2017 23:01
Hello, try to match the empty (anchor) to the desired bone in Pose Mode / Bone.
04 October 2017 00:24
Thanks, guys. Mikhail's solution works (in general), so I'm marking this as solved.
 
Please register or log in to leave a reply.