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 / using X's as a matrix

Author
Message
FROGGIE!
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: in front of my computer
Posted: 5th Jul 2004 01:24
How do you do the get ground height() command for a .X model.
(im using the terrain feature in MS3D)

I should have changed my signature when asked
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 5th Jul 2004 01:34 Edited at: 5th Jul 2004 01:34
Hmm, not too easy I'm afraid without DBPro

In Pro it'd be simple using intersect object. Your best bet in DB is to either

a) 'cast a ray' down from your characters postion until it hits the matrix [basically moving an object downwards]

b) look in the codebase

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"

Login to post a reply

Server time is: 2025-05-24 22:15:02
Your offset time is: 2025-05-24 22:15:02