Yes use front wheel motors! Much better stability. Even against a 4 WD.
You want to change the friction on the ground and on your tires. Otherwise youâll get a boring plastic on plastic. Use âCustomPhysicalPropertiesâ and input a friction value. For tires you wanna use the highest possible 2, and a higher FrictionWeight as well (around 1.5).
Yeah, I tried that right after posting that. It turned out really great, but I donât remember if I published it or not. It makes the car track really nicely.
EDIT: I published it, drives great!
Are there plans for torsion spring constraints?
Similar to regular springs, where F = -kx, but for torque instead of linear force: đ = -kθ.
It looks like you can almost do this with hinge constraints using restitution, but I canât quite seem to be able to get the range Iâm hoping for out of that. A saloon door is one use case.
The only other way I could think of approximating this is with a hinge and a spring on a lever, but this is only effective for small angle changes.
Yes we will implement torsion springs. But you canât use a hinge with restitution for this. Restitution is like in collisions, how much your object responds when it hits the limit, specifically the hinge limits
You can use a motor or a servo, and write a script controller
By the way, my buggy is now unlocked, so learn and create:
https://www.roblox.com/games/460776678/Dune-Buggy
Ah, that makes sense. Thanks for the clarification.
If using PGS, is there a technical difference between using Rotate objects or surface hinges vs using hinge constraints? That is, in the case of a free spinning hinge. Using constraints is proper and all, but man itâs just so easy when you just need a free spinning wheel or whatever to just slap it on with a surface hinge.
Yes, there is a difference. Hinges will try extremely hard to be in the correct position. If something gets in the way, they respond with unreasonable force. All the warnings about interpenetration and all that.
Thatâs why things bug out in Lumber Tycoon 2. If youâre in a trailer train going down the mountain with a large log load, and a log stays back for a split second, it forces the trailer wheel to interpenetrate throwing everything into disarray.
Joints/Constraints on the other hand:
Theyâre pretty cool about not being in the right place, and will spring back. It creates a smoother experience and thatâs why I had so little trouble assembling the 70-strong trailer train. (In fact, the only issue I had with the trailer train was one of the wheels getting out of its wheel well. I managed to pop it back into place by dragging the trailer around).
EDIT: to further clarify, I did an experiment with the joints, and hereâs what I found: a little phantom energy is applied to the system upon overconstraint, compared to a lot of phantom energy when a hinge is overconstrained.
Hah, nice! I thought that I was the only one who did this. I only have 25 small trailers though, but I hope to get more. How well are you able to move around the map? I canât go up hills if too many trailers are pulled up the hill at once, and I almost reached the point where walking was faster than driving.
My plot was the closest to the mountain, so I was descending the hill when I began. Driving it was much slower than walking: it took half an hour to make a U-turn around the rocks next to Wood R Us, and the footage in the video of me driving is sped up 4x. The best part is, not only did I drive with 70 trailers in tow, I also carried a load in it: at the very end of the video I discover that someone placed a log in the second-to-last trailer.
Surface hinges and free spinning ConstraintHinge under PGS internally use the same implementation. So yes you can use these surface hinges and expect same results
You sure can do a lot with the new constraints.
Unfortunately, it is has a high tendency to spaz out when it touches the plane, and parts of it are CanCollide false to prevent further spazzing. Collision filters would help but they arenât out yet.
What am I doing wrong? I thought the new Hinges were suppose to be stiff and not allow rotation on other axises.
Open view of Joints.
https://i.gyazo.com/387cfc1b912ac3e40b28963f209229c3
If I up the mass of the tires, they just fall off their axis.
https://gyazo.com/26e35450c5c62b1d2de6ce4fbbc8ec6f
You might wanna increase the mass (density) of the knuckle - the tiny part that you attach the wheel to.
By the way: Constraint UI is live! Still in testing for few days, so it may be turned off. Weâll make an announcement next week.
Ran into a bug with the RopeConstaint at Spiderman Simulator.
I think that the constraints go off when you are interacting with something you have physics ownership and something you donât. The constraints are done locally with FilteringEnabled.
I read the blog on the new visual improvements to creating the constraints in studio (as opposed to with scripts only)
YESSS, THANK YOU!
This will also dramatically increase the amount people will toy with this stuff. With Lua coding you had to be more serious/ determined with the approach, while now itâs a lot more accessible. Weâll be seeing a lot more cool stuff.