Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
0
Question by JustSomeWeirdGuy · Dec 14, 2016 at 03:16 PM · terrainblendertreeblender-exportingtree-painting

Trying to use Blender Exported Object as a Terrain Tree Object

So I modeled a low-poly tree in blender, and exported it into the Unity Project folder. I go to Terrain, add tree, and drag my model into "tree Prefab", but when i try to draw on the terrain, it looks funky, and its sideways. Also, the height and width sliders on the Terrain Trees only changes one shape in the model, rather than the whole thing (even though in blender I joined all the objects together)

alt text

(left is model drawn onto the Terrain, right is the model dragged and dropped into the scene)

How can I fix this? I would rather not have to drag and drop each and every tree I want into the scene, I would rather do "mass place trees".

03.png (169.0 kB)
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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by spood · Jan 02, 2017 at 09:22 AM

Ran into this issue. It seems like there's no good solution here except to change the model within Blender. May even be a bug with Unity since when a model is placed from the Unity Editor it automatically applies a -90 (or 270) degree rotation along the X-Axis, but with the Terrain placement it doesn't - and there isn't an option for it.

In Blender rotate your model along the X-Axis by 270 degrees. Go to options > Apply > Rotation. Save and reimport to Unity. It will look sideways now when you drag it on but with the terrain placer it is correct.

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 vinilly · Apr 25, 2018 at 05:56 AM

Make the tree a prefab and change the transform.. Easy fix :D

Hope this helped!

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 blacksailelectronics · Apr 26, 2021 at 09:47 PM

Cause of problem: If you pay close attention you will notice the (x,y,z) y axis in blender is mapped to the front and back axis (y+ = front/ y- = back); while in unity the y axis is mapped to the up and down axis (y+ = up/ y- = down).

Fix: All you gotta do to correct this error is (in blender): go into "edit mode", "select all", press "r" and rotate. You want the "up" direction of your object to be on the "Y" or green axis and the object to have its base centered at the origin point.

Hope this helps! ,If you pay close attention you will notice the (x,y,z) y axis in blender is mapped to the front and back(y+ = front/ y- = back); while in unity the y axis is mapped to the up and down axis's (y+ = up/ y- = down). Hope this helps!

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

7 People are following this question.

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

Related Questions

Cannot draw tree from blender to terrain in unity, Why? 2 Answers

Trees on terrain appear sideways 2 Answers

Can't use tree brush tool 0 Answers

Tree brush making very tiny trees 0 Answers

Using Tree Brush, trees either show up lying on their sides, or don't show at all. What am I doing wrong ? 0 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