New constraints are live!

Rotation seems to work backwards, is this intentional or a bug?

Also, springs don’t work?

3 Likes

Springs worked for me, but they don’t stop rotation so you have to combine them with a prismatic constraint…
which is just confusing.

1 Like

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

1 Like

Yeah, but they’re not springy?

1 Like

Springy enough for you? :stuck_out_tongue:

8 Likes

Please share your witchcraft.

(mainly what the heck did you do to make it move)

2 Likes

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:

2 Likes

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:
blob.png

1 Like

My bad. I need to keep my auto-updater running 24/7.

1 Like

To setup suspension on a car you have many choices:

  • spring and prismatic between the same two attachments:
    blob.png
  • a spring and a few rods:
    blob.png
  • or a spring and a hinge
4 Likes

Well, I have some form of suspension done.

http://i.imgur.com/ReleSVy.gif

Now to actually make it move.

6 Likes

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

10 Likes

We will be releasing the constraint / attachment UI very soon!

6 Likes

You sir, are a god.

3 Likes

Will it also work with welds and stuff, since they have some similar properties? It would make welding vehicles together easier for me.

2 Likes

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.

5 Likes

I replicated Newton’s cradle using Rope Contraints, the result is not quite the same.

5 Likes

What is your elasticity on your balls? It needs to be at 1.

6 Likes

It was set at default 0.5. This is what it looks like with elasticity set to 1.

3 Likes

Oh well that’s random :confused:

2 Likes