How can I move a child object to a target position using python? I want to be able to move the child object to any known position.

Find below an example:


The "Child" object must be in this exact position (-2,3,4) with no offset.
To set the location of an object to a target position specified in world space simply set the translation value of the object's world matrix

child_obj.matrix_world.translation = target