Try messing around with the orientations of the attachments. It’s likely that you have some combination of orientations that causes it to spin that way.
This is how I ended up changing them so the wheel stayed in the right direction, however the motor spins the wheel the same way as the 90 you can see below the base.
I’d change the orientation of the RA attachment
I can’t tell which direction is which from your picture, but once I think it would be either (0,0,180) or (90, 0, 90)
first, change the orientation of Attachment0 so that when you select the hinge constraint, it shows that it rotates in the correct direction. ignore how the wheel part looks during this
then, change the orientation of Attachment1 so that the Part attached to the constraint, Part1, the wheel, is facing the correct direction
since you’re using both a hinge constraint and a prismatic constraint, you might want to swap to just using a cylindrical constraint instead
but if you want to keep using these two constraints, you could use a different pair of attachments for each of the constraints since they can’t have attachments with the same orientation as each other
The PrismaticConstraint is for the suspension. CylindricalConstraint doesn’t help.
I don’t really understand what you mean by having a different pair of attachments. Here’s how I made them.
HP is a part which connects the wheel and car together. It sits right next to the wheel and has the PrismaticConstraint connected to it, so it isn’t disconnected from the car. HP has its own Attachment with my Motor which uses the wheel’s attachment and HP’s attachment. HP’s abbrevation is literally HingePart.
The problem is that the PrismaticConstraint restricts movement in the wrong direction - sideways. Which means the wheels absorb shock from the walls, not the ground. And I’ve already explained how I tried to prevent this.