x


Unity Car Tutorial

Hello.

How to implement anti-roll-bar from alternative physics to car form complete scene?

more ▼

asked May 19, 2010 at 01:28 PM

Marek gravatar image

Marek
19 3 2 4

Can you add some detail to the question, please.

May 20, 2010 at 06:44 AM Nicolaj Schweitz ♦♦

Sorry Nicolaj. I want to use antirollbar in Car.js script. I've made AI based on this script and Gotow AI. Everything I need is to slowing car on no throttle, but I've done somework and made something like slowing/braking on curver according to turn angle.

May 21, 2010 at 07:43 PM Marek
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Look at the sample car prefabs for the alternative physics model - some of those, like the Lambo prefab, are using anti-roll-bars.

more ▼

answered May 19, 2010 at 04:42 PM

jonas echterhoff gravatar image

jonas echterhoff ♦♦
10.4k 8 31 114

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

Yeah, but it is hard for me to adapt Wheel.cs and AntiRollBar.cs to use inside Car.js. It is very different structure. Convert from C# to JS and JS to C# is not a problem. Besides I've adapted Car.js to use with car AI. Any directions to anti-roll-bar?

more ▼

answered May 20, 2010 at 06:17 AM

Marek gravatar image

Marek
19 3 2 4

please use comments if not answering the question. Thanks :-)

May 20, 2010 at 06:39 AM Nicolaj Schweitz ♦♦
(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:

x52

asked: May 19, 2010 at 01:28 PM

Seen: 2913 times

Last Updated: May 20, 2010 at 06:43 AM