I have a car with a rigidbody attatched to it (3D). I use Rigidbody.AddForce(); to account for acceleration, but when I jump a ramp or a hill, and I'm in the air, as long as I don't let go of the accelerator I keep going forward and up. Can I make it fall back to the ground if it's not touching the ground?
your velocity seems to be adding to the local forward which in the case of hitting a bump is pushing you upwards, really what i would do is just not add velocity while in the air since your wheels arent contacting the ground
I assume I would just create a variable and a script to set that var to false if it leaves the ground, and true if it touches, and use that var in an if. Is that right?
You could use the CharacterController.isGrounded. http://docs.unity3d.com/ScriptReference/CharacterController-isGrounded.html