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 / matrixt help

Author
Message
viscera eyes
20
Years of Service
User Offline
Joined: 29th Apr 2004
Location: the moon
Posted: 11th May 2004 07:31
can someone please give me a good example of how the get ground height command works?
Social Disease
20
Years of Service
User Offline
Joined: 30th Sep 2003
Location: State of Confusion, beyond Denial...
Posted: 11th May 2004 07:47
GET GROUND HEIGHT
This command will calculate and return the Y coordinate within the matrix given the X and Z coordinates.
This command can be used to allows 3D objects to traverse the contours of any matrix landscape with
ease. The matrix number should be an integer value. The coordinates should be real numbers.

SYNTAX
Return Float=GET GROUND HEIGHT(Matrix Number, X, Z)

Use it like this:


You see? It just returns the height value of the matrix at a paticular site, so you can place an object on the matrix.

Think Gad fro Spill Chock!
viscera eyes
20
Years of Service
User Offline
Joined: 29th Apr 2004
Location: the moon
Posted: 11th May 2004 08:26 Edited at: 11th May 2004 08:46
it didnt work right. the chararcter moved up and down but not at the right times
did i do this right?



if it matters, iam using dbp

Login to post a reply

Server time is: 2024-09-22 08:28:52
Your offset time is: 2024-09-22 08:28:52