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 / I give up....

Author
Message
Girby
18
Years of Service
User Offline
Joined: 3rd Mar 2006
Location:
Posted: 4th Mar 2006 01:19
Maybe I'm just stupid or something, but I've no clue what im doing wrong. Im trying to do matrix collision so my guy can walk on the matrix. Before you post, yes I searched and I've read that I need to use Get ground height(1,opx#,opz#). When my guy walks, he flies far up and down. What am I doing wrong?

-are you sure you're awake? what proof do you have?-
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 4th Mar 2006 02:24
start by using CODE tags please, the source button thing is broken, we can't see your code

FREE Automatic file updates for your distributed Games and Apps - see Program Announcements Forum - DBP Demo
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 4th Mar 2006 02:33
hi Girby.here is some code that will keep your player on top of the matrix.



Girby
18
Years of Service
User Offline
Joined: 3rd Mar 2006
Location:
Posted: 4th Mar 2006 02:41
Sorry about that. Heres the code.


Here.

-are you sure you're awake? what proof do you have?-
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 4th Mar 2006 03:22
Never give up (Its ok to say you are just don't lol).

People never fail ... they stop trying. Software on the other hand ... seems to fail quite often. Which is in turn what makes us stop trying most of the time.

Girby
18
Years of Service
User Offline
Joined: 3rd Mar 2006
Location:
Posted: 4th Mar 2006 04:20
How can i edit my code to keep my model on top of the matrix?

-are you sure you're awake? what proof do you have?-
Girby
18
Years of Service
User Offline
Joined: 3rd Mar 2006
Location:
Posted: 4th Mar 2006 06:44
What do i need to chage in my code for him not to fly away?

-are you sure you're awake? what proof do you have?-
BF game programmer
19
Years of Service
User Offline
Joined: 22nd Jan 2005
Location: hoover alabama
Posted: 4th Mar 2006 07:12 Edited at: 4th Mar 2006 07:13
this code workes for me. i just changed your code so i could run it because i dont have your modles. and i changed the matrix size but it workes fine for me. were you talking about it going up into space or going the wrong way on the matrix?

Cliff Mellangard 3DEGS
Developer
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 4th Mar 2006 10:06
girby dont you have an very bumpy matrix try to set the randomize matrix of and retest it as the get ground height is very pixelperfect so large model on an small but bumpy matrix will make it appear very weird.
iam yust wondering as i made that mistake in the beginning.
its not dbp that is the limit only yourself and alot of headbanging to the walls i have alot of bumps in my forehead nowdays.
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 4th Mar 2006 10:38
Girby,
What version of DBP do you have? This was a well known bug of the very early versions
Girby
18
Years of Service
User Offline
Joined: 3rd Mar 2006
Location:
Posted: 4th Mar 2006 11:52
Thx Cliff Mellangard 3DEGS. That fixed me problem.

-are you sure you're awake? what proof do you have?-

Login to post a reply

Server time is: 2024-11-27 03:39:25
Your offset time is: 2024-11-27 03:39:25