Hello, I am having big troubles with the hinge constraints.
Every part is in a collission group, so nothing in the car collides.
This is how it’s set up;
When I run:
Ok, small mistakes, whatever,
When I set to servo
this
happens
lol
Hello, I am having big troubles with the hinge constraints.
Every part is in a collission group, so nothing in the car collides.
This is how it’s set up;
When I run:
Ok, small mistakes, whatever,
When I set to servo
this
happens
lol
It could be:
1 - It is trying to rotate itself
2 - The wheels are moving it
Its most likely that it is trying to rotate itself, you would want to check to make sure it isn’t trying to rotate itself all the time.
To see if its the wheels or the joint copy the model set it in the air and remove the suspension and wheels. If it moves the same way its the joint.
It could be some properties in the joint or that it is indeed colliding with the underside of the car. But as you said it was on a different collision group I doubt this would happen.
All is in the same collission group, all the car parts, and the collision group is not collidable
You could set the limits of the hinge constraint in a way that prevents it from turning. Honestly it seems like you’d be better off scripting it into position at this point; You gain more control and don’t lose much except compatability.
Set the LimitsEnabled of the HingeConstraint to true, as well as adjust the AngularSpeed, ServoMaxTorque, and Restitution.
All of these Properties will affect how your HingeConstraint moves as well as the Density of the Parts connected to the hinged assembly.
Just play around with each property until you get an idea of what each one does and how it affects the springiness of the hinge.
I used to use Motor6Ds for a hinge like this since they were welded joints and didn’t have the flex of a HIngeConstraint, but it seems Roblox changed the way they were affected about 3 months ago and they don’t replicate properly anymore between the client and server.
If I was to make this suspension I’d use two CylindricalConstraints, one for each front wheel, and set both to servo for the steering. Check them out in the army truck suspension here:
https://www.roblox.com/games/534616891/Tracked-vehicle-Suspension-tests
What CylindricalConstraint do?
I don’t get it
It has a sliding joint like a PrismaticConstraint for the suspension travel, and a rotating hinge on one end that would be for your steering movement.
You’d need to add a SpringConstraint to it as well, and attach the lower end to a Part with a HingeConstraint set to Motor for the wheel to attach to.