Hello everyone. Why does roblox do this, and how can i fix it?
I made a chain system for a rollercoaster, and I thought it would be cool if I made it have as few scripts as possible. The only script used is to make the gear rotate. The rest is all roblox physics.
It was working out great, but as you can see in the video, when force is applied it just glitches out. Why does roblox do this and how can I fix it? If it is fixable at all.
Could u make script which would teleport it to its constant position and orientation if it move the constant value.
Is each chain link connected to the next using a HingeConstraint and Attachments?
I’ve used that type of system for tank treads and it can be glitchy with Roblox physics.
A friend suggested using a Part (we’ll call it Part1) at the center of the entire chain with a HIngeConstraint between Part1 and the rest of the assembly.
Have the hinge parallel to the drive gear hinge axis.
Put a second Part (Part2 of course!) with a HIngeConstraint between it and one of the chain links.
Again, have the hinge axis parallel to the drive gear hinge axis.
Now put a PrismaticConstraint between Part1 and Part2, aligned so that when the link rotates around the loop the PrismaticConstraint behaves like a piston on an old steam train, looping around with the link, but keeping the link aligned with the gears.
You may also want to remove the extra links so there is less room for the chain to bounce around.
Try them out here: