- Home /
This question was
closed Aug 31, 2012 at 09:57 AM by
Kryptos for the following reason:
Problem is not reproducible or outdated
Question by
javanoob · Aug 30, 2012 at 03:19 AM ·
carcheckpointrace
Race checkpoint system small help please :)
Delete please Admins :)
Comment
Select the code and hit the button with some numbers in it
Answer by fafase · Aug 30, 2012 at 05:41 AM
My guess, I would use an array of checkpoint GameObject. This way you can easily know which one is next by incrementing the index of your array. When you reach the end of your array you get back to 0.
That would also reduce your amount of code by a lot.
Follow this Question
Related Questions
How do I make laps in a racing game? 5 Answers
Racing Game - setting up a car TIRES 1 Answer
How to build a lap system for racing game 4 Answers
Show laptime after each lap ? 1 Answer