I have a two-wheel vehicle stabilized with a BodyGyro and has suspension and a leaning system. Everything works well except the steering.
When you turn while going slowly the front wheel wiggles ALOT. Much more when just going backwards.
The steering system has a servo that connects an invisible part and the sterm. The sterm is connected with the other parts that rotate along, and the invisible part is welded to the rest of the bike. (image below)
red are the main parts
blue are the parts that steer
yellow are the other parts of the bike
Rest doesnt matter
Your MaxTorque is waaaay to low. I usually set them at ridiculously high numbers for Servos because you usually want them to move and stay in their positions. AngularResponsiveness will cause issues and needs to be tuned properly for your movement. For most of my servos I set it to 200 (I think it’s the max, it may have changed over the years) to make the servo try to reach its target immediately. If I want to slow the movement I set the AngularSpeed to something smaller (remember it rotates in radians/sec, not degrees/sec).
This partially fixed the problem, as the wobbling is less common, but increasing the AngularResponsiveness just makes the wobbling much more intense. For some reason, it doesn’t really affect high speeds, just when going really slow, steering in place, or just going in reverse.
I did find a spot to minimize the problem as much as possible, though, but it’s still a big problem.
Sorry, by ridiculously high I didn’t mean inf.
I know that HingeConstraint Motors set too high will cause vehicle wheels to jitter around when they aren’t moving. What are your wheel HingeConstraint MotorMaxTorque(s) set to?
This actually fixed most of the problems and fixed some other bugs that were completely outside this topic. The wheel doesn’t wobble while steering, or when going in reverse. As for the wobbling in place, I just avoided it and set the ServoMaxTorque to 250, then 10,000,000,000 while steering. The steering turned out very smooth and there were no problems at all.
No worries.
I’ve got a similar system with my cars. When the car has no throttle input or driver I make the wheel Hinges at a low MotorMaxTorque and then increase it only when there is throttle applied.