永遠に地面を掘り続けるようにするには、
地面をどんどん生成する必要がありましたね。
次の地面を生成するタイミングは、Y座標でどれだけ隙間が空いたか?
をチェックしてから、生成することで地面が途切れずに生成されます。
To allow the player to dig endlessly, we needed to generate the ground continuously.
The timing for generating the next ground segment is determinend by checking the gap in the Y-coordinate.
When the gap reaches a certain threshold, a new ground segment is generated.
By doing this, the ground is generated seamlessly without any interruption.
次回

