Right now im working on a raycast scripted suspension and for now im trying to attach the wheels, but when I attach the wheels and apply position to the motor6d it works fine on the ground, but whenever it goes ahead to rotate, the wheels switch position.
Here is an example:
So far I have tried diffrent types of methods to attach the wheels by adding AlignPosition, AlignOrientation and Force with PrismaticConstraint
This is what I have written inside the code to make the Motor6D move
v.Motor.C1 = v.CFrame
v.Motor.C0 = v.CFrame + v.CFrame:vectorToWorldSpace(Vector3.new(0, -Hit.Distance, 0)