I made a traffic system with Geometry Nodes as you can see below. (Thanks to the How to make Traffic Systems in Blender video by Bbbn19 on YouTube)
The problem is that clipping occurs and that I can't find a way to set a minimum distance in between the points/ cars.
I have seen a suggestion to use the Distribute Points on Face node and the Poisson Disk function within it, but I'm not able to make it work.
Another person on Youtube suggested:
If you use integers instead of floats with the random number generation and then multiply the numbers appropriately you should be able to give the cars a minimum spacing. I think that should be a simple solution.
Does anyone know how to solve this?