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 wenhua · Dec 21, 2011 at 06:20 AM · treeswind

how to make tree/grass look like wind blowing

i wanted to make my game more realistic by making some tree or grass moving and i have no idea where to start with.pls teach me thx

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

5 Replies

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

Answer by BiG · Dec 21, 2011 at 07:20 AM

If your trees are created directly into Unity, you can use Wind Zones.

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 wenhua · Dec 22, 2011 at 09:32 AM 0
Share

ok thx i will try

avatar image
1

Answer by Zergling103 · Dec 21, 2011 at 09:01 AM

Use a vertex shader.

In the vertex shader, move the vertex's position by a random amount each frame. I'd use a texture lookup to get the amount of movement, (the texture could be tiling fractal noise) using the vertex's XYZ and time (see shader ref) for the lookup coordinate.

Although, I'm not sure if texture lookups are supported in vertex shaders.

To add realism, you could weight the tips of the branches at 1, and the bases at 0, and use them in the shader. That way leaf tips move more than the branches.

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 markl · Dec 21, 2011 at 07:06 AM

Hi best thing is either particle effects or vertex animation I would say. Particle effects are built into standard unity and vertex animation is supported through products like that great one Megafiers

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 syclamoth · Dec 21, 2011 at 07:09 AM 0
Share

How, exactly, would one achieve this effect with particles? I'm curious.

avatar image wenhua · Jan 03, 2012 at 01:54 AM 0
Share

Its better to learn by video tutorial if have as words wont show a clear demostration

avatar image
0

Answer by markl · Dec 21, 2011 at 09:38 AM

Can use the terrain editor it uses billboard particle effect...

http://unity3d.com/support/documentation/Components/terrain-Grass.html

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 syclamoth · Dec 21, 2011 at 10:13 AM 1
Share

Yeah, those particles don't move. $$anonymous$$ovement is the specific requirement here.

avatar image
0

Answer by charnew · Dec 21, 2011 at 10:11 AM

It's the video here that demonstrates modifying trees, he's saying something about bend in the inspector: [link text][1]http://www.vtc.com/modules/products/moviePlay.php?size=Large&foldername=unity3d&sku=34092&id=89751&movieCode=0207&movieName=Adding+Trees&mode=flv but you have to sign up first

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 wenhua · Jan 03, 2012 at 01:52 AM 0
Share

sign up so expansive lol

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

9 People are following this question.

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

Related Questions

Wind for trees and detail mesh painting, they just don't work at all 2 Answers

Tree Leaves or Grass model moved when character moves over it 1 Answer

Bend a flower 0 Answers

It will be possible to use LOD in Unity Tree Creator? 0 Answers

Creating wind effect for 3d tree model 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