I’d prefer not to use raycast (I don’t think I’d need raycasts anyways considering the train won’t be driving over kerbs, speedbumps, bumpy roads, and more?)
I want it to look similar to the video provided above, higher speeds mean more bouncy, lower speeds mean less bouncy. I’d like to call this “Artifical Suspension” or “Fake Suspension” that looks real.
I wouldn’t know what im scripting, am I scripting the 2 attachments that hold the suspension? I also don’t know how I’d randomize how high the suspension should bounce or in a smooth way
Suspensions = springs no other way around it as thats where the real life thing is based upon.
Either use Roblox physics constraint springs or make your own if you are using CFrames.
If you are using your own then you can look into spring modules.
An extra bit of info is that you can replace the linear acceleration terms and displacement with angular terms instead to get that angular suspension tilt feel.
This will only pick from 1 - 10 … so figure your low and high and input that.
I agree with this: Suspensions = springs. This should be most of your motion right there if not all of it.
That is a really good link btw dthecoolest. I’ve studied that page myself.
The setting on the springs is what you would adjust. This is one of them things you just need to keep guessing/messing with till you find your sweet spot. You should be fine using that page’s information.
So I’m using Roblox physics for my train system, I’ve tested using SpringConstrains combined with CylindricalConstraints for the purpose of letting the train turn but doesn’t really bounce while moving, and I’ve messed around with it for ages but can’t really get it to bounce while moving at speed, the only time it seems to bounce is when I adjust the springs properties.
I could send you a model (with tracks of course) if you’d like to take a look for yourself.
Thats actually a really good idea and all, but I want it to look real from the outside and walking around the inside aswell.
I might just leave the suspension till later on in the system, and work on the more simpler and easier things I want to done… because I’m too lazy (and it gets boring) to keep messing around with properties for hours and get nowhere.