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
1
Question by devstudents · Dec 01, 2014 at 09:40 PM · colliderterrainblendergravity

Blender terrains and gravity

I made my terrain in blender as I wanted more direct control over the topology and appearance of the terrain. I also thought that I would save on verts by doing this as I used a lot of flat terrain in my game so I really don't need a deformable mesh for that.

I have two questions:

  1. is it true that I am saving memory by making a terrain in blender?

  2. I am having trouble with gravity. I attached a mesh collider and it doesn't work most of the time. A terrain collider doesn't work at all. Can we only use unity terrain if we want to have objects with gravity?

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

1 Reply

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

Answer by Vetpetmon · Dec 01, 2014 at 10:36 PM

You need to use a mesh collider. I had this same problem when I imported an object from Maya and found it out. It should work with blender objects, too. I also think you need to use a Gravity script. You can put a RigidBody on it and enable gravity. For the textures you should've separate objects and drag the materials to those objects. And yes, you saved memory and a lot a frame rate.

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 devstudents · Dec 01, 2014 at 10:47 PM 0
Share

Thanks for your response :) separating objects and dragging materials to them was one of the main appeals of switching to blender as my terrain. It allows for an easy dynamic terrain (eg. snow, cleared land, grass, puddles etc).

Just need some clarification.... I have a mesh collider attached to the terrain and I have a rigid body attached to the player. As soon as I turn off kinematic, the player falls through the floor. I don't have any scripts for gravity. I was hoping the colliders and rigid bodies would sort that out for me.

avatar image devstudents · Dec 01, 2014 at 10:53 PM 0
Share

ok, it had to be a box collider on the player. Everything is good now.

avatar image Vetpetmon · Dec 01, 2014 at 11:37 PM 0
Share

Your welcome. ;)

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

25 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Blender Terrain in Unity 1 Answer

Large Mesh Colliders and character collider not coliding 0 Answers

Create Terrain in other Software 1 Answer

Object falls through terrain 1 Answer

Keeping a player in a path/Bounding area. 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