Share to EffectHub.com

You can earn money or coins from your share:)

Tips: you can use Sparticle for uploading away3D effects.

Tips: you can download Sparticle for uploading effects.

Tips: The ActionScript editor is supporting Away3D, Starling, Dragonbones and Flex frameworks.

Tips: paste the web page URL then click button:)

How do I make a slot car game?



I new to game development with Unity and my first project is a slot car racer. For a realistic slot car-like-driving experience, I first build a track with a channel in the track and a pin on the car. This kind of works, but it does not look like a slot car, its more like a car with a pin and sometimes the physics just go crazy and kick me out of the channel. I next tried making a spline with a simple game object following the track. I attached my car to my "follower" with a fixed joint. This didn't work so well: My car was tumbling and pulled sideway but I never archived that my car gets pulled down the track. How should I be approaching this? I'd like the car to accelerate and decelerate quickly, with that acceleration and deceleration controllable by the user.

Tags

1007 views    2 answers

The Best Answer

0


You should consider using a large rectangular prism as the pin. Keep in mind that what you draw on the screen does not have to match the meshes that are used to determine the collisions. You could draw a normal slot car on the screen, but use a large rectangular prism mesh that is not visible to the player, which would help prevent the car from being thrown from the track on high-speed turns. The length of the prism could run parallel to the track, and the length and width could easily be adjusted to get the precise collisions that you are happy with.

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2014-06-09     1 Comments

dugam

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2014-06-09

Public Question, everyone could view answers and download attachments.

Finish this task then you can earn 10

Task Finished


>>Back to Task List


Sponsor


You may interest with



Share

Join Effecthub.com


Or Login with Your Email Address:

Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: views/footer.php

Line Number: 6

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: controllers/task.php

Line Number: 19

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: controllers/task.php

Line Number: 84