Need some help, as always How can I make my VEHICLE FOLLOW a terrainn. When it goes up the hill I want its nose to tilt up, when sideways on a hill I want it to tilt sideways, etc… I believe I can do this with the FH Properties in the materials buttons, but cant seem to get it to work. Can someone please enlighten me, or point me in the direction of a tutorial… Thanks
Theres probably a better way, but the way I did it was to parent an empty just infront of the vehicle, then use a ray sensor to detect how high above the ground the empty is, and move it down till its at a certain height. you can do this by setting the range of the ray sensor to the height you want then turn the inverse button on the sensor on and connect it to an actuator that moves the empty downwards. Then you just make the vehicle track to the empty.
1.Select the terrain
2.Add a material(F5)
3.Open Materials Window and press DYN button
4.Set Fh Dist = 0.10(more faces has the terrain lower is this number)
5.Select the vehicle
6.Open Realtime Buttons Window
7.In the dynamicc settings press RotFH
That’s all.Maybe you will need to reinitialize the size and rottation(Ctrl+A) for the terrain and vehicle.