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.

Code Snippets / 3d mouse - for any camera angle!

Author
Message
ChozoMufin
20
Years of Service
User Offline
Joined: 19th Apr 2005
Location: Columbus, OH
Posted: 29th Jul 2005 03:40
ok. the source of the code that i based this on was written by jesTicular and modified by sjakie. i found it in a pathfinding program that they were working on. anyways, i found that it only worked well with a matrix and involved lots of moving and turning of objects and stuff. i greatly simplified it, using raycasting. now it works with normal .x objects, and is alot simpler.

however, you need nuclear glory(wich, if you are using a .x object for your terrain, i assume you would have.) here it is:



object 500 is what i used as the 3d mouse object, but you can replace that with whatever.

Your Head A-Splode
Darkbasic MADPSP
19
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 31st Jul 2005 16:03
one for .3ds files please

life's a game and a games a life More games at www.freewebs.com/halorc
ChozoMufin
20
Years of Service
User Offline
Joined: 19th Apr 2005
Location: Columbus, OH
Posted: 3rd Aug 2005 22:52
umm, you can't use 3ds files in db,..... but you can convert them from 3ds to x with the built in conversion command that comes with db,... it's


Your Head A-Splode
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 7th Aug 2005 23:42
3ds files are supported in both DBC as DBP...

Immunity and Annihalation makes Immunihalation...
Freddy 007
20
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 15th Aug 2005 22:55
And I can't get the 3ds2x to work...



*** PANZERGAMES ***
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 16th Aug 2005 09:49 Edited at: 16th Aug 2005 09:50
The file is in the right directory right?

Or you can copy-paste the 3DS2X converter that is already made for you. Search it in the DarkBasic "tools"-folder. (DBConv)
It'll convert all .3ds files in the directory to .X

BTW: 3DS2X only works in DBC

Immunity and Annihalation makes Immunihalation...
ChozoMufin
20
Years of Service
User Offline
Joined: 19th Apr 2005
Location: Columbus, OH
Posted: 19th Aug 2005 20:17
db supports 3ds?? u sure?? i didn't know that.

Your Head A-Splode
Robot
20
Years of Service
User Offline
Joined: 27th May 2004
Location:
Posted: 19th Aug 2005 20:58
It does.

The happenings of tommorow are behind us now
Eddie B
20
Years of Service
User Offline
Joined: 10th Apr 2005
Location:
Posted: 19th Aug 2005 22:47
http://darkbasic.thegamecreators.com/?f=features

ChozoMufin
20
Years of Service
User Offline
Joined: 19th Apr 2005
Location: Columbus, OH
Posted: 20th Aug 2005 17:41
cool.

Your Head A-Splode

Login to post a reply

Server time is: 2025-05-17 02:40:08
Your offset time is: 2025-05-17 02:40:08