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.

Dark GDK / dbGetMatrixHeight not working? with 7.4a????

Author
Message
haliop
User Banned
Posted: 9th Dec 2009 22:41 Edited at: 9th Dec 2009 22:44
hi again
im builiding some matrixes and testing them see what it all about
and when i try running an object above the Matrix , this command just dosent work properly , on the first Vertex (first Tile), so its x = 0 , z = 0 (Tile wise) it works but on everyother it dosent
how come?!!
this is very confusing if i want to edit the matrix in real time ...

if you can help , pls
thank you for your time )
nadav.

Edit:::::
this is the code im using after setting up the matrix and raising some tiles and stuff.



id 1 = the main object which is a cone showing what vertex to edit now .
i can use GetMatrixHeight , but i want to know why this one dosent work
Freedom Fighters
15
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 9th Dec 2009 23:22
Is there any error code?
show a screen shot would be helpful.

can you describe more on what not working. give details about it.



Problem Solution That Never Fails: "Build A Bridge And Get Over It"
haliop
User Banned
Posted: 10th Dec 2009 06:51 Edited at: 10th Dec 2009 06:54
im working on a RealTime Terrain Editor using a matrix
this is much more fun from when i coded a 2D Tile engines

so here is the explanation ,
you have a cone which represents the current Vertex on a current Tile inside the Matrix, now , i want the cone to gain height from the height value of the current Matrix>Tile>Vertex or overall XYZ position on the screen (not the matrix tiles)

here is a screenshot for your request
actually here is some as i gain the knowledge of moving the cameras hip hip horray ! FU 2D Stupid TILE ENGINES!!! MWOWHAHHAWSDFKASHDAKSHD!!!








haliop
User Banned
Posted: 10th Dec 2009 10:38
ohh man , sorry for the next sentence!!!!!!!!!!!!!!!
the title should be

dbGetGroundHeight
and not dbGetMatrixHeight...
MatrixHeight Works Good , but it gives me only the Vertex and not a freemovement above the matrix
Freedom Fighters
15
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 10th Dec 2009 23:44
have you looked at my matrix + text file example, it works there.
i have noticed a small glitched where you can go forward an not move up the terrain but then move again and you do.

are you getting the height bu inputting floats not int?

Problem Solution That Never Fails: "Build A Bridge And Get Over It"
haliop
User Banned
Posted: 11th Dec 2009 07:11
yeah float.. but still dosent work
only the first position works for me , but after i move it , it goes on random heights
Freedom Fighters
15
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 11th Dec 2009 22:53
post some code, i need more information of post the project and i'll have a look.

Problem Solution That Never Fails: "Build A Bridge And Get Over It"

Login to post a reply

Server time is: 2024-11-20 09:38:24
Your offset time is: 2024-11-20 09:38:24