What I’m trying to achieve:
Greetings everyone. I’m trying to create a car suspension using constraints whose design is mainly based on the MacPherson strut (image below). I apologize in advance for the lack of in-engine images since I can’t access my computer now.
The problem
The exact constraint system is irrelevant as I tried out other simpler mechanisms (like the one using only cylindrical and spring constraints), and the main problem I face occurs during steering (when the wheels rotate around the vertical axis) which is the car slightly rotating around the vertical axis too, which is an unwanted behavior since I steer at standstill and therefore the car body should not have any rotational movement.
Attempted solutions
Changing some state variables, such as the mass of the car’s body or wheels, the spring’s free length, stiffness and damping and substituting some hinges to cylindrical or ball socket constraints did not solve the problem.
Using different attachments to alter wheel’s angle (steering) did not resolve the problem either, which is weird since I expected different pivot points would result in different behavior.
Analyzed some constraint vehicles available in the toolbox but could not understand how the same constraint structured resulted in behavior I desire, which is the lack of rotational movement of the car’s body.
The frustration
The workflow involving the use of constraints is mysterious at best, since when you most expect some mechanism to work, it causes bizarre movements which show no direct or apparent cause. My problem is the perfect example, I’ve searched multiple questions involving car suspension in this forum and I did not come across anything similar, only classic problems such as wheels inverting spring direction or cars flinging out due to intrinsic physics engine limitations.
I hope someone noted anything troubling and point it out to me so I can solve this as quickly as possible. Thanks for your attention.