Original Post
Ok, the problem is like that:
I have 2 surfaces ( 3d triangles ) in the 3d space. I dont know their reletive position to each other , but I do know all the information (x,y,z) about those two surfaces.
As for the problem...
How can I align surface #1 in a way it will be parallel to surface #2 ?
The story behind the problem is as follows:
I am making a small tank strategy and I have tanks and mountains.
I need to align each tank on its current position on the mountain in a way that it will look like the tank is really climbing those mountains, instead like he took an elevator...
B.T.W:
the mountain is a bunch of triangles, so each surface is a triagnle and not a square.
answer (hopefully) will be send to preshel@mailcity.com
Thanks.