Chained coordinate transformation between two applications

Hello,

I have the following task: I want two separate applications running on two separate screens to use the same coordinate system.

Here is a small sketch of how the whole thing is built.

In the middle is the global origin, from which a local offset starts.
In this system is the Kinect, which outputs the position data in its own system.

I now need a transformation matrix that can calculate the position of a tracked player from the coordinate system of one Kinect to the position in the system of the other Kinect.

How can I calculate this matrix?

Thank you very much for your help :slight_smile:
Arne