How to return a car on track after a car has left the road?

Get help using Construct 2

Post » Mon May 18, 2015 8:55 am

Hello, dear community! I'm working on a sort of a top-down racing game. I'd like to know how should I get back my car on the center of a track when it hits the track's border. I believe that the car should appear somewhere near the border hit point. Here is the picture of what I was thinking about:
Image
Thank you in advance!
B
9
S
2
G
1
Posts: 36
Reputation: 712

Post » Mon May 18, 2015 9:25 am

I think the easiest way would be to create waypoints and when the car is offtrack set its position to the nearest waypoint..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon May 18, 2015 5:29 pm

Thank you, LittleStain! I had that idea in mind too but thought that this is too blunt for a solution )
Maybe someone knew a better way to do it?
B
9
S
2
G
1
Posts: 36
Reputation: 712


Return to How do I....?

Who is online

Users browsing this forum: dand, mageekm, oosyrag and 29 guests