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 / Get Ground height - Returnin constant

Author
Message
Kesav
18
Years of Service
User Offline
Joined: 19th Nov 2006
Location:
Posted: 17th Dec 2006 15:45 Edited at: 17th Dec 2006 15:47
Hi i have a problem with get ground height command

my matrix creation is


my code is


the result is "1" at all time while moving

Only learning will make a pro game developers from us
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 17th Dec 2006 15:59
After all of your matrix setup commands, you need to update the matrix, call the UPDATE MATRIX command with your matrix number, and itll work.

Kesav
18
Years of Service
User Offline
Joined: 19th Nov 2006
Location:
Posted: 17th Dec 2006 16:01
but if i call update matrix command

update matrix 1

The matrix is became flat
no randomize...

Only learning will make a pro game developers from us
Kesav
18
Years of Service
User Offline
Joined: 19th Nov 2006
Location:
Posted: 17th Dec 2006 16:05
SOLVED
but with problems...

the get ground height is ok..

but the matrix looking flat

now the code is

matrix preparation


Get ground height


Only learning will make a pro game developers from us
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 17th Dec 2006 16:11
I said put the update matrix command after all of the other matrix commands. That includes after the randomize matrix command.

Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 17th Dec 2006 16:15
He had fill matrix in there...

Kesav
18
Years of Service
User Offline
Joined: 19th Nov 2006
Location:
Posted: 17th Dec 2006 16:29
Sixty Squares:
what did you mean???

the height detection function only, if i have randomize matrix AFTER update matrix command

Only learning will make a pro game developers from us
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 17th Dec 2006 16:50 Edited at: 17th Dec 2006 16:52
Take a look at this;



Login to post a reply

Server time is: 2024-11-27 01:40:44
Your offset time is: 2024-11-27 01:40:44