does anybody know how i can make car suspension like in gta 4?
i really like the suspension physics in the game and i was woundering,
how to make it in roblox.
because i hate using the constraint suspension in roblox and you always have to tweek it to perfection, and i want to have a way more easier job on tweeking the suspension.
It’s actually based on the weight of the vehicle more than on the suspension itself. I have used constraints and put weight on my vehicles which as a result gave me the gta 4 type of handling
Essentially what raycast suspension does is simulating a spring without having to use the spring constraint.
In my opinion you’d need a good reason not to use the default roblox spring constraints. The convenience they provide is unmatched.
If you’re sure you want to proceed then be prepared to use math. Luckily springs are decently easy to simulate using Hooke’s law.
A good tip is to begin with a single spring being simulated. Once that’s working move to your car with 4 wheels.
Keep in mind that a custom Spring implies further customization of the car physics for example the steering will be more complicated to make, etc.
Hooke’s law Wikipedia: Hooke's law - Wikipedia