I have been recently trying to lock suspensions on the Y axis, but it seems to be impossible.
But, I have thought about simulating suspensions in a script, which will be easier to manipulate.
Here’s the problem. I have no idea of how to do it, even not a plan…
I never tried to simulate physics and I couldn’t find anybody doing that.
So you’re trying to have the vehicle ‘float’ using scripts, and have the wheels stay ‘in contact’ with the ground?
Using physics and Constraints is pretty easy. If I could figure it out you should be able to as well. https://www.roblox.com/games/534616891/Tracked-vehicle-Suspension-tests
I’m certainly not capable to do this, but I think I didn’t detailed my topic enough and that’s my fault.
I want to avoid having my landing gears (on the following image) “sticking” out everywhere…
When physics come in action, this is the result :
The problem is I really don’t know how to block only on the Y axis, I tried and wanted to follow a guide that explains how Roblox physical elements were working but I couldn’t find anything about that…
You need to rotate the attachments so that they face upwards/downwards. Other than that, enabled “LimitsEnabled” and set the limits to however you’d like it to be.
Yeah, you need to be careful when aligning all the Constraints, especially in more complex systems.
Springs usually need their FreeLength value set to where you want them to be, not where Roblox sets it up when you put it together.