|
| 28 Apr 2013 06:02 PM |
So I have a terrain generator, and it basically stacks 4x4 parts on top of each other. Point is, there are a lot of useless parts that you don't even see therefore are not necessary, How would I get the top part of all the X and Z coordinates?
What I mean by this is that since they are 4x4 bricks, they are placed like (0, 0) (4, 0) (0, 4) (4, 4), etc. Now I have like 2-3 parts per X and Z. How would I find the highest part per X and Z? |
|
|
| Report Abuse |
|
|
th3oracle
|
  |
| Joined: 23 Feb 2013 |
| Total Posts: 448 |
|
|
| 28 Apr 2013 06:05 PM |
| I will tell you up straight that there is not a simple-ish way. |
|
|
| Report Abuse |
|
|
|
| 28 Apr 2013 06:06 PM |
| Well anyway without taking forever and not causing a huge amount of lag? |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Apr 2013 06:59 PM |
| Is this honestly THAT hard? |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Apr 2013 07:45 PM |
| Please help! Any ideas would be appreciated! |
|
|
| Report Abuse |
|
|
|
| 28 Apr 2013 07:54 PM |
| If you wanted the highest part, wouldn't you want the y value? |
|
|
| Report Abuse |
|
|