Why My Car is Ot Moving?

Hi friends. I need your help. I have created a simple game where a car is supposed to be moving. I have attached the car control script with the car and assigned the necessary variables but my car is not moving when i a using arrow keys.

There are three scripts attached with the car:

  • Antiroll_Bar.js
  • PlayerCar.js
  • SimpleVelocityLimiter.js

One script attached with each wheel

  • WheelAlignScript.js

Please check the the scripts and image attached.

Thanks in Advance…)


1257882–55018–$Antiroll_Bar.js (909 Bytes)
1257882–55019–$PlayerCar.js (2.75 KB)
1257882–55020–$SimpleVelocityLimiter.js (3.31 KB)
1257882–55021–$WheelAlignScript.js (2.07 KB)

I can’t download any of the scripts. So could you please post the ‘PlayerCar.js’ in the actual forum (I have a feeling that’s where the problem lies), and I or someone else will probably be able to help you.

I just looked at your picture with the error on it and I think that is why it won’t move. If you read the error message in your pic there it says it needs an audio source. So…just add an audio source to your Car2 game object.

Looks like you will get more errors too and you will have to fix all errors before you can play the scene and move the car.