I try to make a basic wheelchair simulation. I used the WheelCollider on each wheel in the wheelchair and it works fine. The user control the rear wheels separately, each wheel can spin forward or backward.
![alt text][1]
The problem:
I want the front wheels to be loose, I want the front wheels face automatically to the movement direction (like it should be in real world +-). I rotate the front wheels with an float variable called **angle**, something like that:
float angle = something;
wheelColliderFrontLeft.steerAngle = angle;
So, the angle is what i need your help to determine. If there is a simpler [or different good] solution I would be happy to get it too.
I apologize in advance for my English. Thank you for your help.
[1]: /storage/temp/112475-wheelchair.png
↧