- Home /
what is the easiest way to do a moving car on uneven terrain
Hi
I have problem in my racer game as in subject. I would like that car drive on uneven terrain. What is the simpliest way to do that? I found this tutorial: http://forum.unity3d.com/threads/158179-Advance-Car-Game-Tutorials-Unity-3D?p=1083357 but I don't want to make controller and other features. I use controller from EasyTouch plugin.
My hierarchy:
My car inspector:
Is it possible to do it in Inspector without write code? Is it possible to do it in Playmaker?
Answer by Nevadaes · Aug 02, 2013 at 02:36 PM
I believe you can attach a Collider to both your GameObjects, for example, two mesh colliders or box colliders. If you enable the gravity on the RigidBody of your car, it will try to fall down, but will touch the terrain before, so it will stay in place.