Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | kittypowerftw01 |
Hi all!
First of all, I’m a complete novice when it comes to Godot and game development in general, so bear with me.
Here’s my problem:
I’m making a simple endless runner prototype in 3D. The terrain is constructed of moving blocks (made from KinematicBodies) which are picked from an array at random and instanced into the scene with the help of a timer node. This part works fine, but I’d like to control how much space is left between each block. The only way I’ve been able to control this to some extent, is by increasing or decreasing the spawn time. However, I realize this is not a good solution in the long run and it has its own issues. How would I go about controlling the distance left between the blocks? The simpler the solution, the better.
Thanks in advance!