I got a problem with a script that makes tireslips, They appear below the tires but they doesnt turn accordingly to the tire.
This code makes the slip turn along the Z axis, I have tried to make a quaternion with the rotation along y as a value and 0 on x and z but that didnt work.
If I change this line:
then the slip turn 90 degrees wrong and I have tried to add 90 to that line but it only changes back to the usual rotation along the z. (The wheel isnt turning along the y but the x, its turned 90 degrees)
And if there is any easier way or better way to do this I'd appreciate if you could tell me. :)