Cranes and Joints

Hey guys,

I’ve got a game in which I can pick up cubes with a crane. I do this by adding a joint to the crane and attaching the cube to that joint (the crane pickup point is a sphere which goes into the cubes)

Picking up, and dropping the blocks works just fine, but I want to be able to have 2 different cranes to be able to both pick the same cube, and then just get constraint in the movement. This works fine with the system Im using right now if the path the cranes are moving over are linear. But theres my problem.
The splines my cranes are following are in a S form, and they get knocked out of the spline and start glitching all over the place when 2 cranes pick up the same block.

Anyone knows how I can just stop them from moving instead of glitching all over the place?

(The final aim is to make cranes have to possibility to steal block 2 vs 1)

Bumpity

Bump

Bump

I’ve seen cases where the rigidbodies assigned to various parts of a composite object start to fight and the pieces end up flying all over the place. My solution was to assign all the subcomponents to their own layer and then adjust the physics setting so that layer does not collide with itself.

Well its not the problem of rigidbodies colliding, its that the child of the objects that are connected with the join are being pulled out of the spline because one of the cranes moves over the Z axe while the other one isnt, that pulls it back and therefor knocks em both out of the spline.

I temporarily fixed it by making sure the cranes can only move if they move to the same side