[Help] Lua Rope Constraint Won't connect to the second entity.

Hey, I’m trying to rope to entities together. I’m not using using bones, sense the props i’m using don’t have bones.
And, this is placed in a existing Entity.

Also, I’m not getting any Results from it. Meaning, no errors. And, the debugging that I did in the code. I get… in console.
Which, I’m suppose to get ENT1 and ENT2 exists… But, I only get one.

Console:

Anyways, if you can help that would be greatly appreciated! :smiley:

Code:



if(IsValid(ent) && IsEntity(ent))then
        local ent1, ent2 = constraint.Rope(self, ent, 2, 0, Vector(0, 0, 0), Vector(0, 0, 0), 200, 0, 0, 2, "cable/cable2", 0);
	if(ent1 != nil)then
		print("ENT1 exists!");
	end
	if(ent2 != nil)then
		print("ENT2 exists!");
	end
end


I’m having the exact same issue as you, and my code looks pretty much similar. The constraint seems to be running, but nothing shows up, and when I move the car the trailer doesn’t move at all.

Let me know if you find a solution to this. This is putting a grinding halt on my mod.