Rotation seems to work backwards, is this intentional or a bug?
Also, springs don’t work?
Springs worked for me, but they don’t stop rotation so you have to combine them with a prismatic constraint…
which is just confusing.
I’ve managed to set up a car, but if I use test in window the time taken to load it becomes longer and longer everytime I use it.
Edit: Constraints are definitely making my studio unresponsive when using test in window
Yeah, but they’re not springy?
Springy enough for you?
Please share your witchcraft.
(mainly what the heck did you do to make it move)
It’s a car chassis I was coding before the constraints update. This version uses body thrusts to generate a torque in the wheel, and it’s almost all controlled by local scripts. I don’t think there’s any way to make cars with constraints without a fair amount of coding.
The spring setup:
You’ll generally need a stiffness in the thousands at least, and to attach a PrismaticConstraint parallel to the spring. I can’t really help with that: I just used trial and error until the orientations came out correctly.
You can drive them round the default roblox race map:
Of course the vehicle seat won’t work so well with the new constraints. You’ll need to script your own motor logic.
To propel your car forward you can use the Motor type actuator on a hinge:
My bad. I need to keep my auto-updater running 24/7.
To setup suspension on a car you have many choices:
Well, I have some form of suspension done.
http://i.imgur.com/ReleSVy.gif
Now to actually make it move.
Threw together a quick plugin if anyone is interested. Allows you to quickly set the attachments for a constraint https://www.roblox.com/Attachment-Setter-item?id=461214827
We will be releasing the constraint / attachment UI very soon!
You sir, are a god.
Will it also work with welds and stuff, since they have some similar properties? It would make welding vehicles together easier for me.
Managed to get a working vehicle going.
http://i.imgur.com/8JidAvL.gif
Works fairly well on terrain. Used hinges to spin the wheels, but I think I’m going to add a thrust as well to give it a stronger push.
I replicated Newton’s cradle using Rope Contraints, the result is not quite the same.
What is your elasticity on your balls? It needs to be at 1.
It was set at default 0.5. This is what it looks like with elasticity set to 1.
Oh well that’s random