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 issues

Author
Message
tikki
17
Years of Service
User Offline
Joined: 1st Aug 2007
Location:
Posted: 26th Aug 2007 19:55
please visit my last topic:
http://forum.thegamecreators.com/?m=forum_view&t=111465&b=7
the last two posts (theres an attatched file)

every1 says i need to use GET GROUND HEIGHT(....) to get the collision with my matrix, but when i do, i still fall through! so i was wondering if any1 could help me out? when i debug, the GroundDistance# never hits zero.

RAWR!
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 26th Aug 2007 22:30
Have you moved the matrix with the Position Matrix command?

It's worth mentioning that the Get Ground Height parameters are not 'world co-ordinates' and the command returns the height of the matrix at the supplied position assuming that the matrix is at 0,0,0 in space.

If you move the matrix for any reason, you must offset the X and Z Get Ground Height command parameters to compensate for the amount the matrix has been moved.

If you are new, the answer is to NOT move the matrix unless you know what's involved.

TDK_Man

tikki
17
Years of Service
User Offline
Joined: 1st Aug 2007
Location:
Posted: 26th Aug 2007 23:22
i have not moved it. to be sure, i even tried Position Matrix 1,0,0,0" and it still didnt work.
i have attatched the file.

i cant seem to figure it out. been trying for a month

RAWR!

Attachments

Login to view attachments
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 28th Aug 2007 08:27
Movement by the key input makes a mistake in your program.

You are confused.
You should start it again from a beginning.
Begin with a simple thing.
You do not use gravity.
You do not use a jump.


It is an easy sample.



Here is a sentence of a commentary.
http://developer.thegamecreators.com/?f=t01/3d_tutorial_index
Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 28th Aug 2007 14:53
Riddle me this, riddle me that... again.

Acording to Grandma, I am now enemy of the evil republic, who captured Paris Hilton and couldn't manage it.
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 28th Aug 2007 17:32
Quote: "Riddle me this, riddle me that... again."

Why do you keep writing this nonsense everywhere?

Tempest (DBP/DBCe)
Multisync V1 (DBP/DBCe)
tikki
17
Years of Service
User Offline
Joined: 1st Aug 2007
Location:
Posted: 28th Aug 2007 18:43
PcRaider
thats kind of what i want, but the thing is, i know what i'm doing. i don't need to start over. i did all the stuff in my program besides heightmap and mouse look (but i understand both). so its kinda pointless for my game/engine to not have jump. if you could modify it so it has jump and so i can study it, that would be great. i can easily re-add all the other junk.

thanks for all your guyses help!

RAWR!
Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 28th Aug 2007 22:49 Edited at: 29th Aug 2007 13:06
Quote: "You are confused.
You should start it again from a beginning.
Begin with a simple thing.
You do not use gravity.
You do not use a jump."

Quote: "Why do you keep writing this nonsense everywhere?
"

OMG! I'm so sorry, PcRaider! I thought you were writing in verse! Now I see the truth...

Acording to Grandma, I am now enemy of the evil republic, who captured Paris Hilton and couldn't manage it.
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 29th Aug 2007 05:35 Edited at: 29th Aug 2007 06:15
"You have to come back to the place that you made a mistake in."

You begin debug.




A continuance is tomorrow.
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 29th Aug 2007 22:50
tikki
17
Years of Service
User Offline
Joined: 1st Aug 2007
Location:
Posted: 30th Aug 2007 00:13
yeah, its kinda messy. but
its pretty much 2 tutorials (ruccus, and heightmap) put together, but i didn't just copy/paste
then i experimented with external loading and other stuff.

right now i'm looking thru TDK's collision tutorial, but am having an issue with colliding with my bridge.x, i might gotta use sparky's for that. but sparky's is more confusing

RAWR!
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 30th Aug 2007 04:51
I try to work by your program.
but, There is not the answer with 1.

debug


Try debug.

Attachments

Login to view attachments
tikki
17
Years of Service
User Offline
Joined: 1st Aug 2007
Location:
Posted: 30th Aug 2007 06:16
@pcraider
i thank you very muck for all you are doing! i am studying what you are doing so i can learn!
thankyou

RAWR!
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 31st Aug 2007 01:17
Quote: "right now i'm looking thru TDK's collision tutorial, but am having an issue with colliding with my bridge.x"


Try looking at the Set Collision To Polygons command.

That tutorial is intentionally very, very basic and DB's collision by default (if you don't set anything else manually) uses collision boxes - not polygons.

So, if you use objects more complicated than plain boxes, use Set Collision To Polygons.

TDK_Man

pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 31st Aug 2007 05:15
debug



Debugging was finished.
You enjoy a program.

Attachments

Login to view attachments
pcRaider
17
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 31st Aug 2007 05:25 Edited at: 31st Aug 2007 05:32
To TDK
"Set Collision To Polygons" ???
it's "Set Object Collision To Polygons" ?


and You's Tutorial , not worked.
http://forum.thegamecreators.com/?m=forum_view&t=96045&b=10


do not a flash. DBP.
Do not you repair it?


I tried to change it.
tikki
17
Years of Service
User Offline
Joined: 1st Aug 2007
Location:
Posted: 31st Aug 2007 05:50
thankyou very much! with a few modifications i can fix the jumping. not a big problem
i'll look into that commad later, gotta fix the basics 1st

RAWR!

Login to post a reply

Server time is: 2024-09-27 05:15:59
Your offset time is: 2024-09-27 05:15:59