Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
7
Question by Kingshrimp · Mar 13, 2011 at 08:56 PM · movementcar

Car Movement Script

I am quite new to unity and i have no idea about scripting i was hoping if anyone would be kind enough to write me a few scripts. Scripts which would allow me to control a car that i have made. I have tried using the car tutorial scripts but for some reason they wouldn't work, if anyone could help me with this i would be most thankful.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Statement · Mar 13, 2011 at 09:02 PM

Unity3D websites own car tutorial. You can find a lot of tutorials if you just search on google.

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Statement · Mar 13, 2011 at 09:04 PM 0
Share

The car tutorial doesn't work?

avatar image Myth · Mar 13, 2011 at 09:14 PM 0
Share

At what point does it fail?

avatar image Kingshrimp · Mar 14, 2011 at 07:29 AM 0
Share

its the scripts when i add them to my car they dont do anything

avatar image Statement · Mar 14, 2011 at 02:28 PM 0
Share

This might seem a silly question to ask but: Have you read the pdfs? I certainly haven't tried that tutorial but maybe you haven't paid attention about how to use the scripts, and what other components might be required?

avatar image Kingshrimp · Mar 14, 2011 at 04:34 PM 0
Share

i have read through most of the pdfs but they dont make much sense to me.

avatar image
0

Answer by Jurasic Man · Mar 30, 2011 at 03:30 AM

That Unity Car Tutorial will not work on your car if you just add the script to your car... simple because there are so many things they have added and you have to add all to your car too .. the idea is to give you how you can also build a complex car like that.. by studying that script and picking up the ideas... if you are new start with the basic movement for your car and little by little study that script to add more features to your car..

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by GameRockerr · Apr 16, 2012 at 04:24 PM

Try This Site:-

http://forum.unity3d.com/threads/112172-Simple-vehicle-script

It would work!!!!!!!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by BeyMod · Sep 27, 2016 at 10:39 AM

var leftWheel: WheelCollider; var rightWheel: WheelCollider; var maxTorque= 5.0;

var CenterOfMass : Transform;

function Start () {

//rigidbody.CenterOfMass.y = 0; GetComponent.().CenterOfMass= CenterOfMass.localposition;

}

function FixedUpdate () { leftWheel.motorTorque= maxTorque* Input.GetAxis("Vertical"); rightWheel.motorTorque= maxTorque* Input.GetAxis("Vertical");

leftWheel.steerAngle= 10* Input.GetAxis("Horizontal"); rightWheel.steerAngle= 10* Input.GetAxis("Horizontal"); }

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Vehicle/car/ Movement 0 Answers

Vehicle Script not turning left and right! 0 Answers

Car movement script ? 1 Answer

Issue with Collisions due to Parenting script 0 Answers

car tutorial' camera adjustment problem 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges