placing node at joint

i’m making a 3dperson game.
and i want the camera to be attached to the Neck bone of a character.

so i made a bone control for the Neckbone

and i made a node where the camera is attached and looking to.

that node has to be at the same position as the neckbone, but it shoudn’t take over the H,P and R only the X,Y and Z

but when i parent it, it will do that.

i can’t use setPos(getPos()) because that is a relative value.

does any one know how to do?

you can get and set positions and rotations relative to other

yournode.setPos(render ,  yourneck.getPos(render) )

if you want to inherit position but not rotation you could try to reparent and use the compass effect,too.