Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Vehicle Rank in racing game

How do I go about getting the rank (1st, 2nd, 3rd, etc) of a vehicle in a racing game using blueprints? I'm using splines for the race track. I'm trying to use the Get Distance Along Spline point, but I don't know how to get the spline point based on the vehicle position.

Any ideas?

Product Version: Not Selected
more ▼

asked Jan 29 '15 at 11:34 AM in Blueprint Scripting

avatar image

90 11 16 23

avatar image everette1695 Feb 25 '16 at 03:30 PM

did you ever figure this out?

avatar image Jujaswe Apr 21 '16 at 09:30 AM

Yes I did. I used target points along the track. Each target point is arranged in order such that the furthest along the track is the one with the highest value. The vehicles select the closest target point to them. Using that, I can rank the cars with just a simple comparison between which vehicle has the target point that has the greater value.

avatar image Jarrod84 May 17 '16 at 02:24 AM

Can you post a screen shot of how you achieved this please?

avatar image tero83 Aug 13 '16 at 05:40 PM

I would also want to see screenshot or tutorial about car game ranking system

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi, Epic staff released a tutorial series for time attack, with a checkpoint system and timers. Tutorial Take a look, You can compare the checkpoints the vehicles have reached, and then compare the distance to the next check point. That way, if someone missed a checkpoint, he will loose rank, and the other will be sorted like this: for each car, get distance from next checkpoint, then the smallest will be the best ranked

Just an idea, i hope it works

more ▼

answered Mar 02 '15 at 03:06 PM

avatar image

178 13 16 21

avatar image Jarrod84 May 17 '16 at 02:24 AM

I'd like to see this, if anyone has a screen shot or tutorial for adding race position to that tutorial, post it up

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question