Platform with prismatic joint

Hi there,

is it possible to make a platform move horizontally from A->B->A... looping all the time?

If I enable motor, I can move it from A->B, but I´m not being able to make the return... Can anyone help me please? Thanks.

Original thread: https://box2d.org/forum/viewtopic.php?t=6901