I'm creating a simulation in blender whereby the objects move randomly, but where the code I have attached applies.
At the moment, they are stationary.
The code I have attached basically states that when in a given distance within each-other, objects can spawn at their location.
Dnapolymerase is an object which upon reaching a certain radius between nucleotides, can spawn nucleotides at their location. Almost like the snake game? Where snake eat apples and grow longer.
I'm hoping to get the same kind of result in this simulation, without using physics in the game engine or using keyboard sensors. The movement must be completely random.
Random movement was achieved in the previous code I had, most likely by looking at nearest.worldPosition or something like that, but I'm not sure how I can apply that to the code I have.
Any help would be amazing.
(I've attached all relevant code/video and if need be I can send you blend files of my script)
This is probably going too far, but I'm willing to literally pay someone to help me. I'm not kidding. I am prepared to do this.