Partially Inherited Transforms?

Is it possible for a child object to inherit some transform properties from a parent (such as x and z positions), while not inheriting others (such as y-position, rotation etc)?

(I want the child object to move with the parent object across the ground, but to remain on the ground when the parent object jumps - a bit like Skippy dragging a ball-and-chain…)

How might this be done?

Thanks!

In whatever script is moving the parent transform, after you move the parent, set the child’s transform.position.y to whatever it is you want it to stay at. You need to do this in the parent’s script in order to guarantee that the child’s position is modified after it is set by the parent’s movement.