I recently posted another similar thread, but I though that that thread was becoming confusing for other people to read, hence no replies.
So, I’m starting another to better detail my question(s).
Suspension related questions:
1.) For the suspensionSpring, does the suspensionDistance start from the center of the wheel and go downward the local y axix?
2.) Also, related to the suspensionDistance, does the suspensionSpring.suspensionTarget affect in which direction the spring force applied? The docs say a value of 1 means the spring is fully extended (when at rest), whic means to me is that the spring is pushing downward the local y axis (or resisting becoming compressed). What is the case for when the value is 0?
3.) I assume that if my assumptions in question one is correct, then when the suspensionSpring.targetPosition == 1 then the location of the wheel collider (the wheel collider would actually move, right?) would be wheelPosition.y - suspensionDistance.
4.) Is it possible to determine the position of wheel under the suspension spring forces (like in Yoggy’s car demo)? If so, any clue on how to?
WheelFrictionCurve related questions:
5.) What does each value of the friction curve actually mean? I’ve search the forum for wheel collider and wheel friction curve info, and in every thread I’ve found, everyone has been confused about how to use the WheelFrictionCurve properly. I think a better explanation is needed.
6.) This question might not be needed to be answered if question 5 is answered well, as I could probably figure it out. How can skidding be simulated in sharp turns (sidewaysFriction)? Or how can spinouts be simulated (forwardFriction). I’m guessing these are two in the same, so either work for me
I know I posed a lot of questions, and I hope you guys don’t mind answering them. It just seems a lot of people are confused about WheelColliders. Hopefully the suspensionSpring questions will be a bit easier to answer
I’ve got a decent car simulation that’s robust enough that it can work similar to Yoggy’s demo and the OTEE Car demo, but it’s these last few things that are disabling me from making it to par, so I’d really appreciate the help!
Thanks a lot!
Jedd