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 / How do i make my 3d train driving around on a matrix??

Author
Message
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 3rd Jul 2004 17:49
1. How do i make my 3d train driving around on a matrix??
2. How do i position the camera so its in the train while it driving.
3. how i make a collosion so the camera stay inside the train while it driving..
4. can i make it so the camera can walk around in the train??

here is the codes..(if you want to make some of codes..)



The Nerd
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 3rd Jul 2004 18:00
1. Use get ground height(), this wil return the height of the ground at the train's X and Z position. Position the train at this point.

2. position camera [train position x],[pos y],[pos z]

3. Do the above every loop and the camera will stay in the train.

4. That's a bit complex, in fact, very complex if you've just beginning

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 3rd Jul 2004 18:06
i mean so I control the camera around in the train while its driving
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 3rd Jul 2004 18:06
Thanks for the help..
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 3rd Jul 2004 18:11
David t can u make SOME of the codes for me..
dont understand them..
if you just could make:
the train driving around
and position the camera so it dont fall out while the train is driving.
(i can send my 3d train to you...)
im reading "begginers guide to darkbsic game programming"
so one day it all come...

cheers...

Login to post a reply

Server time is: 2025-05-24 17:01:19
Your offset time is: 2025-05-24 17:01:19