I want to have a car drive over a landscape, nothing new. However I am trying to do it by getting the normals of the plains that the car rests on.
Using a dll by sparky, you can easily point the car towards the normal, however the 'point object' command in darkbasic modifies the x and y angles only, so you can no longer turn the car on the y axis.
http://darktutor.dbspot.com/tilt.zip
If anyone could have a look at the code (you need to put the dll in the 'user-pulgins' folder) it would be much appricated as this has been driving me crazy
.
Thanks,
Oliver