Can Babylon do partial binding?

I’m in a situation where I would like to have a mesh follow a bone, but still lay flat on the ground. It would be nice to only bind x and z to the bone.

Can it be done?

Hello :slight_smile:

Short answer is “yes”, but it will be “manual”, I think there is no function to restrict the attachment of a mesh to a bone with only one axis.

By “follow a bone” and “bind x and z” do you mean only positionning then ? No rotation ?

I think “no rotation” is what I mean (although rotation would be involved up the chain in the bone hierarchy).

Basically I would like to bind a mesh to follow the average x and z position of a bi-ped skeleton’s two feet so that it’s always flat on the ground, following the skeleton.

Right now I’m doing it by updating the position manually but I thought it would be cool to try if it was possible via skinning.