• 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
1
Question by Cris · Sep 23, 2010 at 10:01 AM · physicscar

Is possible to achieve F1 like physic simulation with Unity3D?

I'm a c++ and opengl programmer, I'm looking for a physic engine to handle car physic for my F1-like game, I found on youtube some great example of car physic made with Unity3D, but I don't know if the engine can keep the physic real at very high speed like 300Km/h. Thanks you all!

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

2 Replies

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

Answer by jonas-echterhoff · Sep 23, 2010 at 10:25 AM

This is a very generic question, which I'll answer with a very generic "yes" :)

More specifically, it depends on what you want. Do you want precise simulation physics, or more arcade like, "fun to play" physics. For either case, there are several samples out there. I advice checking out these:

Unity Car Tutorial: Contains both an arcade, and a separate simulation physics model.

A thread on the unity forum about a collaborative effort of making a car physics engine for unity, very interesting read with lots of pointers.

Comment
Add comment · Show 1 · 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 Cris · Sep 23, 2010 at 06:40 PM 0
Share

You're right :) thanks for the answer, anyway I'm looking for a realistic behaviour of the car. Thanks Really I'll check those link out!

avatar image
2
Best Answer

Answer by duck · Sep 23, 2010 at 10:58 AM

I recently made an F1 game, and while it certainly doesn't fall into the "Simulation" category of games, it does approximate driving a car at F1 speeds fairly successfully, using Unity's physics engine. It's called Hometown GP.

To achieve this I spent a long time adjusting things like the suspension and downforce to prevent it from rolling or sliding too much when turning.

Unity's physics engine does not simulate aerodynamics, so an object moving very fast along the ground with no suspension will roll or fly off the ground very easily - to simulate the downforce generated by the car's body shape, you have to manually apply downforce via code.

It's important to get the suspension right because it is responsible for maintaining the wheel's contact with the ground as much as possible, meaning the user doesn't lose control because of small bumps.

Comment
Add comment · Show 3 · 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 Cris · Sep 23, 2010 at 06:40 PM 0
Share

Thanks for the information! ;)

avatar image mylonov · Jan 21, 2014 at 03:29 PM 0
Share

Is the game still available somewhere?

avatar image humam · Jan 31, 2014 at 11:24 AM 0
Share

how did you applied that downforce via code? did you use centerofmass or something else? please do tell

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Mario Kart Wii Physics 1 Answer

How to unflip a car? 1 Answer

car wheels brakes 2d 1 Answer

How to make a car not slow down while turning? 2 Answers

Need for speed like physics using Edy's vehicle physics? 1 Answer


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