Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by stighy · Apr 09, 2016 at 01:07 PM · physicsterrain

How to apply different physics (drag, friction ) to terrain ?

Hello. I'm making a simple car racing game. I would like to know best way to apply different "physics" to terrain, so for instance:

  • On the asphalt, low drag / friction

  • On grass or ice different friction ..

Thanks in advance

Comment
Add comment · Show 3
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 Le-Pampelmuse · Apr 19, 2016 at 01:35 PM 1
Share

Have you even tried to do some research?

https://www.google.com/?gws_rd=ssl#safe=off&q=unity+how+to+change+friction

Do your research first, if you don't find any valuable information then, you can ask a new question.

avatar image stighy · Apr 19, 2016 at 01:42 PM 0
Share

Hi, i've already searched. But there's no information about apply different drag/bounciness etc to terrain itself... to an object, or material yes. But how about Terrain with different texture ?

avatar image Le-Pampelmuse stighy · Apr 19, 2016 at 06:29 PM 1
Share

there's no information about apply different drag/bounciness etc to terrain itself

http://docs.unity3d.com/$$anonymous$$anual/class-TerrainCollider.html

But how about Terrain with different texture ?

I guess you mean that the same terrain has a an extra friction setting for every texture on it? That's not possible.

Then again if you are making a racing game, using a terrain is not a very good idea, make the race track in a 3d application, you have much more control about the shape this way and you can have different parts of the mesh have different material ID's and split the mesh where a different physics material needs to be used.

That's the easiest way to achieve this result. But for the builtin terrain, this is not possible

If you must use a terrain you can add trigger zones to the areas where the friction needs to change and when the car passes through them, the wheel's physics material changes. That's also one possibility. But creating those trigger areas can be very difficult with normal shapes, especially for turns and uneven terrain.

0 Replies

· Add your reply
  • Sort: 

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How does someone make an item stay in place (Floating with no physics) until move it has been moved by physics? 1 Answer

Car made from Different GameObjects and Empty GameObjects breaks on Collision with Terrain. 0 Answers

How to move an object on a terrain that will always stay on top of the terrain? 2 Answers

OnCollisionStay not called on terrain collision IF the center of the object is on the inside of the terrain 1 Answer

Calculating the resting position of a rigidbody. 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