Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Titling to Normals

Author
Message
Oliver
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Switzerland
Posted: 24th Sep 2004 02:44 Edited at: 24th Sep 2004 02:45
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
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Sep 2004 06:04
You could take a look at this.

http://forum.thegamecreators.com/?m=forum_view&t=37680&b=6

"eureka" - Archimedes

Login to post a reply

Server time is: 2024-09-23 00:21:06
Your offset time is: 2024-09-23 00:21:06