Terrain Coordinates.
by Xavier "eXoDuS" Amado · in Torque Game Engine · 07/16/2002 (9:52 pm) · 5 replies
I have a little question about the terrain.
Considering no terrain repetition, where is the coordinate 0,0,0 placed?
Also what coordinate corresponds to the top left corner and which one to the bottom right coordinate?
Thanks in advance.
Considering no terrain repetition, where is the coordinate 0,0,0 placed?
Also what coordinate corresponds to the top left corner and which one to the bottom right coordinate?
Thanks in advance.
About the author
#2
I don't think so... cause in that case moving the mission area would move the objects in the terrain, which doesnt happen...
And i'm not taking in count Z value either
07/16/2002 (10:22 pm)
MissionArea? Are you sure the coordinates have something to do with the mission area?I don't think so... cause in that case moving the mission area would move the objects in the terrain, which doesnt happen...
And i'm not taking in count Z value either
#3
07/16/2002 (10:26 pm)
All I know is when I find the height of the terrain at Point2F(0,0) its finding the height at the center of the mission area and not the center of the non-tiling terrain.
#4
For me, the terrain is centered on it's position. So, if I set it to "0 0 0" the top left corner is at "-1024 -1024 0" and the bottom right is at "1024 1024 0."
07/17/2002 (12:08 am)
I don't think the mission area has anything to do with the terrain. As far as I know it's a totally seperate entity.For me, the terrain is centered on it's position. So, if I set it to "0 0 0" the top left corner is at "-1024 -1024 0" and the bottom right is at "1024 1024 0."
#5
07/17/2002 (10:10 am)
Yes, that's true chris, I found it by disabling terrain repetion and echoing in the console the values of X and Y for the player position :)
Torque 3D Owner Robert Blanchet Jr.