I’m finding setting up a car that behaves nicely to be very hit and miss. The old vehicle tutorials (which were Unity 1.x) seem to have been taken down. Anyone have a nice example of a (Wheel Collider-based) car that behaves fairly pleasantly? It would save me a lot of fiddling around. If not, I’ll post the results of my fiddling at some point
I’m also currently trying to put a decent car rig together, and only found these.
Examples with wheel colliders are:
- the racing project with the ati car (link for download to be found here: http://forum.unity3d.com/viewtopic.php?t=11101)
- the jcar project (Ctrl-J - About Ctrl-J)
and then there’s of course Forest’s buggy, without wheel colliders but pretty cool and very interesting to disect.
Good luck !
Thanks for the links.
It’s odd that we don’t even have a simple example of a working car to play with. How did they test the WheelCollider?
IIRC, the “Vehicle Examples” project used wheel colliders. However some of the things in it, such as slip, were manually fudged and not handled by the physics engine.
It felt good and handled well, but curiously the jeep couldn’t climb on top of the small curb that was the runway for the airplane.
The old vehicle demo is MIA. It never got properly ported to 2.x, I guess.
I didn’t realize it used wheel colliders – I thought it was old school… In any event, yes, the jeep kind of sucked.
Wheel colliders have all these fascinating and promising sounding properties (e.g. it looks like they handle stuff like suspension) but damned if I can get halfway decent behavior out of them.
http://nilch.com/stump/VehiclesExample.zip
It self-updated to 2.x without a problem for me. Although it gives some warnings about some depreciated code it still appears to function properly.
Thanks for that.
I was learn JCar and gettin stucked in steering, wheel and moving backward.
When car hit something it won’t move backward n keep forward, so everything stucked and get to endtask.
Is there any sample code or guide references for creating moving backward acceleration on JCar iPhone?
Any suggest would so appreciated.
Thanks all.