shadmar Posted September 15, 2013 Share Posted September 15, 2013 I noticed joints doesn't take limits anymore when created (argument doesn't exists) So I tried to use SetLimits() ..But it seems to be ignored not matter the joint type. Simple test for hinge : box=Model:Box() box:SetPosition(0,11,0) box:SetMass(1) local shape = Shape:Box(0,0,0, 0,0,0, 1,1,1) box:SetShape(shape) box2=box:Instance() box2:SetMass(0) box2:SetPosition(1,11,0) local joint = Joint:Hinge(0.5,11,0,0,0,1,box,box2) joint:SetLimits(-2,2) HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
shadmar Posted September 15, 2013 Author Share Posted September 15, 2013 Then again joint:EnableLimits() helps... 1 HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Recommended Posts