Restricting Unachored Part Movement to One Axis

Hi,

I want to make a slider game like Traffic (or Rush hour) using physical parts the player pushes around with their character; however I want to restrict the movement of these parts to one axis. How can I achieve this via script, or would constraints be better suited? I’m not sure how this works.

1 Like

Check out the documentation for PrismaticConstraints and CylindricalConstraints, it may be what you’re looking for.

3 Likes