I have a simulation where a robot simulate an ants behavior: while on his way back to the nest, the robot leaves a trail. In the real world ants use trail pheromones to achieve this.
To emulate these pheromones in the simulation I want my robot to leave Balls behind him while on his way to the nest. So my problem is: I want to create Ball Nodes programatically from the robot´s controller code.
Is it possible to do this? I'm using Java.