For the past few days I’ve been trying to make a suspension system for a few vehicles i built, so i found this opensource plugin. I wanted to make it set up a suspension for vehicles with more than 4 wheels, but after a failure I’ve decided to just take the plugin’s suspension template itself and edit its scripts to allow it working with any amount of wheels. And it worked, so then i tried making a script to automatically create the suspension before unanchoring the vehicle. So, i ended up having 2 versions of 1 vehicle, one with a preinstalled suspension, and the other one with a suspension created by the script. Their structure is absolutely identical(as far as i can tell), their models are the same, everything about them is just the same, but the one created by the script has its wheels going through the hull and it doesn’t drive, i can only turn wheels left and right. The one created manually works, however. I’ve tried changing attachment properties, changing collisions, but nothing helped. So i thought that maybe someone from the devforum could help me?
The vehicle might be too heavy for the constraint, there are a few ways you could fix this.
You could remove the effect of gravity like this
and then edit the body force to have the gravity you want it to have.
yup, i flinged it around for a while trying to think of anything, its all fine, they even turn when you hold a and d, and the fov changes when you hold w and s, but nothing else
springs and cylindrical, as i said its the same as the working one but the working one was already installed before testing and the broken one is supposed to be installed in the game by a script, so I’m assuming its something to do with that, but idk what, the script method results in the same structure