Hello there. Recently, I had an issue where I had a perfectly fine vehicle that used a pre-made chassis (A-Chassis Tune) which could be pushed around like it was made out of paper. Long story short, I decided that the best approach was to create a chassis of my own so I can customize it in any way I wish.
The chassis works fine, but I as almost all chassis, everything is massless except the “Mass” part. If I leave it like it is, the vehicle moves fine, but if I increase the mass, it starts to struggle. I figured that the issue was the SpringConstraints that hold it up and act as the suspension, and here is where the issues began. I was able to find an acceptable value that allowed the vehicle to be held up which was 100,000 stiffness (might be able to decrease it), and although that allows it to move fine, the moment I start driving, it starts rocking left and right until I reach a higher speed. Here is what I mean:
Of course, I could just increase the damping value, right? No. For it to be stable enough, the damping value would have to be increased to something like 1000 or 2000, but the moment it reaches 1000 or higher, it starts to glitch all over the place or completely kills you. If you do manage to get it to not glitch out, at 1000 damping, it does not fix the issue. My question is, how would I be able to make it stable while having the mass as high as I wish?
Each wheel is connected to a CylindricalConstraint and a SpringConstraint. Here is how it looks:
Would maybe another type of placement make it more stable? What about changing the values? The current mass of the Mass-Part is 240, and I am planning on making it even larger if possible. Thank you for your help and time, I greatly appreciate it.
Do you know that the roblox mass isn’t in kg or pounds. 1 roblox mass is equivalent to 35 kg or 77 pounds roughly speaking, so a 1500kg vehicle would be somewhere about 43 roblox mass.
Thank you for the reply. I had no idea that it was that way. My main issue is that the chassis is movable around by any player like a paper toy and that is something that I do not want. When I increase the weight, the issue is solved, but then it requires more torque and I need to increase the stiffness and damping. Although increasing the stiffness and torque works fine, when I increase the damping to anything over 1000, it starts freaking out. I did just find out that decreasing the MaxForce value of the string helps it be more “stable”, but it is does not seem to help as now instead of just disappearing, it glitches all over the place. Do you maybe know any other way I could make the vehicle unmovable (and also able to carry up to 100 standing players)? Again, thank you for the reply and your help.
How do you move the vehicle? You should be able to control the rolling(pushability) by setting the values on the cylinder constraints.
edit:
give the cylinder actuator type ‘motor’ and give it a torque. Experiment with the torque values, it will act like brakes, the higher the value the more brake effect.
Interesting issue. I think you can try setting the maxforce to a very huge number and try setting damping lower. I am working on my own chassis now and messing with damping helps.
Thank you for the reply. Yes, it is going to be a bus, an airport one to be exact, with all people standing on it. The issue isn’t the movement. I already can implement the movement (as seen in the GIF above). My problem is that it is for some reason rocking left and right whenever moving at slow speeds. I tried increasing the damping, but it just glitched out of the world. The chassis moves fine with weight (if I increase the stiffness of the springs and the torque of the cylinders), just rocks left and right. Thank you for the reply though.
I will definitely try that out. I did find out that decreasing the MaxForce will allow me to increase the damping, and although it is super glitchy still, instead of straight up disappearing, it just glitches all over the place. I did have MaxForce to infinite before and I did decrease the damping, but it did not help, I will try it a second time though. Thank you for the reply.