x


Following a track/path

I'm trying to create a game that is similar to Boost for the iPhone (seen in this video here http://www.youtube.com/watch?v=QchMPSXc3_0). I have a 'spaceship' that I want to follow the curvature of a track, which bends left-right and up and down, where the player can move left and right as they follow the track. I have tried several methods, including manually creating waypoints which the ship can follow. However this is not ideal for two reasons: they are manually created (and there are several different pieces of track) and they do not allow fluid movement around the track (as this would mean alot of waypoints). Is there a simpler/more elegant solution to this?

more ▼

asked Dec 19 '10 at 07:05 AM

eurobrew gravatar image

eurobrew
53 3 3 8

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I would say that waypoints with cubic interpolation between them is the solution.

more ▼

answered Dec 19 '10 at 12:31 PM

Paulius Liekis gravatar image

Paulius Liekis
7.3k 16 24 46

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Topics:

x316
x36

asked: Dec 19 '10 at 07:05 AM

Seen: 1274 times

Last Updated: Dec 19 '10 at 07:05 AM