Calculate distance
Hello,
I need help with the logistics on how to calculate the distance between 2 or more cars that are spawned and moving to the same direction.
For example I spawn the first car, the second car that is spawned I want it to be at 50 pixels distance, the third one at 75, the fourth one at 100 and so on - each car should have these distance between them: 50, 75 and 100.
Any idea/help on how to achieve this? Is it possible with GS?
Thank you
I need help with the logistics on how to calculate the distance between 2 or more cars that are spawned and moving to the same direction.
For example I spawn the first car, the second car that is spawned I want it to be at 50 pixels distance, the third one at 75, the fourth one at 100 and so on - each car should have these distance between them: 50, 75 and 100.
Any idea/help on how to achieve this? Is it possible with GS?
Thank you