Yes you could have your terrain be rock, or ice or grass. You could also make it be rock, and ice and grass. The material assignment is per poly, so you can actually assign a DIFFERENT material to each poly of your terrain.
As for your question, do you know anything about vectors or rotation matrices (preferably rotation matrices)?
Well, I'll assume that you don't and give you a REALLY QUICK explanation of what they are. A rotation matrix stores 3 points. The first is one unit on the X asis so it's XYZ location would be 1,0,0. The second point is one unit on the Y axis, so it's XYZ location would be 0,1,0. The thirs is one unit on the Z axis, so it's location would be 0,0,1. As you rotate your object around those marker positions update.
DBpro dosn't have access to rotation matrices. My other plugin, EZrotate is perfect for this task though. You can set up EZrotate with your object's current orientation, then retrieve matrix info for it.
Now, how do you use it? Say you wanted to apply an impulse of on the objects local Z axis. You would apply the impulse to all axis's multiplied by the corresponding matrix info.
So the impulse would be:
Xaxis# = impulse*EZro_GetMatZX()
Yaxis# = impulse*EZro_GetMatZY()
Zaxis# = impulse*EZro_GetMatZZ()
TOKrb_ApplyImpulse Rbno,Xaxis#,Yaxis#,Zaxis#
If you wanted to apply it on the Y axis it would be:
Xaxis# = impulse*EZro_GetMatYX()
Yaxis# = impulse*EZro_GetMatYY()
Zaxis# = impulse*EZro_GetMatYZ()
TOKrb_ApplyImpulse Rbno,Xaxis#,Yaxis#,Zaxis#
I hope that clears up your question. If you need further explanation, I could try.
As for your thoughts of the car working...
You wouldn't believe how well it actually does work. Using joints you can set it up pretty easily. I am working on a "car" example at the moment. When you apply torque to the rear wheels, they spin. The friction between the tires and the ground pushes the vehicle forward. This causes the front wheels to spin. When you turn the front wheels, the friction of the tires allows steering. It isn't the *easiest* thing to set up in the system, but it is a lot easier than writing actual car physics. It looks really cool to
Hoooowwwwllll!!!!