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.

DarkBASIC Discussion / Going over a matrix smoothly...

Author
Message
Robin
22
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 15th Jul 2003 15:25
I need help...I'm trying to make a box change angle as it goes up and down hills, as a car would. I have done a bit already, which works if you go straight up and straight down a hill, which i di by placing another object just infront of the player object and pointing the player at that. however, if you go down/up a hill at an angle, the car does not rotate to keep going flat on the ground, instead it stays flat, and sinks into the ground. Here is some simple source code, which I hope would help to explain it better. Try going up the hill at an angle. The code in in DBC...



Does anyone know how to hake it go properly over the land??

Thanks very much
Robin
http://home.1asphost.com/thegameszone/arenabanner.gif[/img]
http://www.thegameszone.tk
[email protected]
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 15th Jul 2003 19:09 Edited at: 15th Jul 2003 19:10
A tutorial on how to do this is found here http://www.darkbasic.com/create/bm_tutorials/

RPGamer

Current Project: Eternal Destiny
Questions? Comments? Suggestions? Go to the Eternal Destiny Forum!
Robin
22
Years of Service
User Offline
Joined: 22nd Feb 2003
Location: United Kingdom
Posted: 17th Jul 2003 16:03
oh yes - thanks very much

robin


http://www.thegameszone.tk
[email protected]
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 17th Jul 2003 17:47
Glad to help

Current Project: Eternal Destiny
Questions? Comments? Suggestions? Go to the Eternal Destiny Forum!

Login to post a reply

Server time is: 2025-05-19 10:47:57
Your offset time is: 2025-05-19 10:47:57