• 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
0
Question by alen · Apr 14, 2011 at 02:02 AM · infinite

infinite terrain

Does Unity support infinite terrain's? and how i can make that , im trying to make 100km long terrain plane for my driving simultion game , i need help :))

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
1
Best Answer

Answer by kennypu · Apr 14, 2011 at 02:09 AM

infinite terrains are never truly infinite, usually in most games etc. all they are doing is when you get a certain distance to the edge of a terrain, they would create a new one right next to it, and so on. So thats what you will need to do.

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 Justin Warner · Apr 14, 2011 at 02:10 AM 0
Share

Exactly =). That or you can do the good ol' the WORLD moves, not the player hahah

avatar image alen · Apr 14, 2011 at 03:48 AM 0
Share

thnx :) , i need real world height map , and could you give me code , how to load terrain when i reach the edge of the terrain :) , i need some practice , actually i have in plan to make real simulation driving game from one city to another (100km route with 20 tunels and complex vegetation over the route and 2 cities highly textured with hq models implemented , for AI i'll use low poly models , for playing cars ill use High textured models with interoiors and animations , i planed to all cities have (police st, hospital , military base , airport and autogen houses :) is this posible in UNITY?

avatar image kennypu · Apr 15, 2011 at 10:58 PM 0
Share

anything is possible in unity as long as you know how to do it, and do it right. I can't actually give you the code, as this site is to offer help to something you're having a hard time with, not to request code etc. I will give you a pseudo code of how i would go about doing this. 1. i would have a terrain prefab 2. the terrain will have the terrain model, as well as 4 empty objects, one on each side. (top, left, etc) 3. then i would do something like:

if our current distance from one of the empty objects is less than... instantiate a terrain prefab on that side.

avatar image
1
Best Answer

Answer by Justin Warner · Apr 14, 2011 at 02:09 AM

Yea.

http://www.google.com/search?hl=en&client=opera&hs=EVX&rls=en&channel=suggest&q=open+world+unity3d&aq=f&aqi=&aql=&oq=

Pretty much, you can make the terrains, make them prefabs, then just instantiate them as the plane flies...

Add in a horizon that makes it look like it goes on forever too. Many ways to do it... Get a position real far in front of the plane, if no terrain, make one... Make it so they spawn every 100 units, and % the x z pos. by 100, and make it goto the nearest 100 with this...

Really, games are illusions =). So think of how you'd do it in a magic trick... Then do it ;).

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 alen · Apr 14, 2011 at 03:43 AM 0
Share

thnx , i will try

avatar image
1

Answer by Chris 4 · Apr 14, 2011 at 07:36 PM

When you set resolution in unity 3 type infinity and it really works. In the error log it will say !IsFinite(outDistanceAlongView) and become laggy or if you computer is slower then 8 gb then it will not respond. I suggest you make a HUGE terrain but not infinite. It is highly interesting how you can do this in unity. Never tried on unity 2.6. It is fun to do this and see how many ways you can crash the editor.:P Anyway, yeah. That's it.

Comment
Add comment · Show 2 · 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 alen · Apr 14, 2011 at 09:54 PM 0
Share

i have 3.3 Unity , and i want to $$anonymous$$ch Unity 3D and game dev. with this engine to PRO level , i want to be real 3D game development in UNITY , i know basics , but i want to be PR , how is best to start learning ? thnx for this answer about terrain , but im new in game development and i dont know how to do it , I just want to make 100km large terrain , route with tunels , sings over the route , 2 cities and all HQ textured with some post effects (SSAO , bloom and gamma , sun shraft . .) with 5 shader effects (rain on window , snow shading , rain riples and glass) , Traffic AI and physics :))

avatar image alen · Apr 14, 2011 at 09:55 PM 0
Share

:real 3D developer"

avatar image
0

Answer by madhu.du · Apr 14, 2011 at 06:36 AM

Yeah.

http://www.google.com/search?hl=en&client=opera&hs=EVX&rls=en&channel=suggest&q=open+world+unity3d&aq=f&aqi=&aql=&oq=

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.

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

No one has followed this question yet.

Related Questions

OnTriggerEnter detects collision constantly after GO enters the box. 4 Answers

I have a problem with the infinite runner tut by mike geig 1 Answer

Quaternion rotation infinite? 1 Answer

I broke my game with what i think is an infinite loop? 2 Answers

How would I go about making infinite waves that get harder over time? 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