Issue with SpringConstraint

I’m having an issue with the spring constraints on my vehicle:
here a clip of the problem

When the center of mass is centered, the suspension behaves correctly. However, when I shift the center of mass by adding parts to the left side, the vehicle tilts left as expected, but then the suspension is strangely pushed back up as if the vehicle were in equilibrium which shouldn’t be possible (it also only happens when the car is moving and I’m using cylindrical constraints for that), since most of the mass is concentrated on the left side. Also, the more the speed of the cylindral constraints the more the frequency of that bug.

Expected behavior

If it had worked fine, the springs (especially on the left side) would have stayed compressed.

1 Like

Thank you for your report. Can you provide a small reproduction in a place file? Also, has this issue started occurring recently or have you been aware of it for some time? Thanks.

tilted_car.rbxl (74.8 KB)
Here the place, I set up the constraints yesterday and noticed the issue that same day.

1 Like

It looks like the front wheel is contacting the weight added to the left side of the vehicle and that is driving the car back up at regular intervals. Moving the front wheels forward or adding a NoCollisionConstraint between the wheel and weight pieces seems to fix the problem. The results in this file look reasonable now.

tiltedCar

tilted_car_NoCollision.rbxl (75.4 KB)

2 Likes

Oh, would have never imagined it was a colliding issue. Thank you!

1 Like

Closing out this thread as “Won’t fix / Not a bug”. Everything seems to be working as expected and we just needed to tweak the setup a bit. Thanks.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.