Is there anyway to rig hydraulic/pistons that follows one another on roblox?

ive been making mech/robotic models on blender and importing them to roblox, though i want to rig them where one part of a piston follows another.

for example


in this rig i made on blender, i used the track to bone constraint to get this effect

i don’t know if you can do something like this on roblox,
ive tried importing the rig to roblox though the effect isn’t there
ive also searched on the dev forum and haven’t found anything

if anyone can help it would be cool

1 Like

This is done using roblox’s built in constraint system. You will need each moving part to be separate, so they cannot be a single mesh if they need to move dynamically (mesh-deformation is currently only available for animations).
This specific setup will require hinge constraints and prismatic constraints.

1 Like

thanks

i messed around a bit and got it working the way i want it to

do you have some rbxm file for me idk how to make it

PistonTest.rbxm (6.6 KB)
yea here you can try it, i actually had to relearn how to make this a few weeks past because another user asked me about it. The set up does have some bugs tho because under certain conditions the piston will just break and i don’t know why.
image

2 Likes