- Home /
Unity Car Tutorial
Hello.
How to implement anti-roll-bar from alternative physics to car form complete scene?
Can you add some detail to the question, please.
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.
Answer by jonas-echterhoff · May 19, 2010 at 04:42 PM
Look at the sample car prefabs for the alternative physics model - some of those, like the Lambo prefab, are using anti-roll-bars.
Answer by Marek · May 20, 2010 at 06:17 AM
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?
please use comments if not answering the question. Thanks :-)