Hey Guys,
Im in the process of making a game that requires a tank to tilt to a matrix landscape full of hills. I have already tried a method where I calculate for 4 points around the tank (front, back, left, right), and I calculate thier change of Y position and apply that to tilt the tank. It does its job right I guess, but this method requires lots of room for error; the tank often goes into the ground or doesnt tilt enough in the right direction. I have played around with this for the better part of this week, but I still cannont find a suitable arrangement to get the tank to "perfectly" align itself to the ground without some sort of clipping.
My question is, is there another method for calculating landscape tilting that is more accurate; where an object dosent go "through" the matrix so much?
Amist the Blue Skies...
