Are the wheel axis allowed to change relative to the chassis? If they aren’t, I don’t see how it would asymmetrically change the diameter of the wheels because the radius change would be the same as long as the car is not pitching up or down. You can control how the diameter changes as the car rolls by angling the wheels in and out as well as changing how the axis changes as the suspension deflects with various types of linkages.
Actually that’s a good point all wheels should tilt by the same amount, maybe it’s just a CoM issue.
Looks like the 6th gear is used to save gas at high speeds, but otherwise has no power advantage
Correct we only deal with rigid bodies in Roblox at the moment. So contact patch has no influence on the friction force
I’m curious which primitive are you using for wheel? Cylinder or sphere?
Both of those are modeled as perfect round in our collision system. But the solver allows some margin of error to maintain the collision with the ground
Yes we have angular damping hard coded in our engine. We are working at exposing this in an API, but i can’t promise anything yet.
Yup that’s the angular damping from our physics engine… I can tell you exactly the equation we are using:
correctedAngularVel = exp( -0.911328 * deltaTime ) * angularVel
Pretty standard for a physics engine to do this. It imitates air friction. But now that we can have stable mechanism with high angular velocities, this can have a major impact.
That graph was with a cylinder. Spheres produced a straight line iirc.
This is very interesting. This means that even though cylinders are implemented as perfectly round, they have more instabilities than spheres. It’s possible it is due to the fact the contact points are jumping between left and right side of the wheel.
So PGS doesn’t have a concept of line contacts as far as cylinders are concerned? That might explain it.
These are all point contacts.
But depending on the cylinder being inclined slightly left or right, the contact point will wander one way or the other. This might cause the instabilities we are seeing in your graph.
Enable “AreContactPointsShown” in Physics settings, you’ll see the contact point jumping around.
We are thinking about reducing this high angular damping. See this thread:
Also we’ve opened up GT3 for testing with reduced damping:
https://www.gametest3.robloxlabs.com/