Defining sliding kinematics for a door

Hello I want to define a sliding kinematic for a door. The image attached.

L and R are the left and right door panels, 1 is wheel system, 2 is sliding rail. Generally it should be a simple linear joint in any other software. how to do it in VC?

Thanks in Advance.

you can also define a simple linear joint in VC!
You can see in this video from the Academy how to create the joints for a machine : Creating a Custom Machine | Visual Components Academy