- Home /
Detail mesh plants don't wave around pivot point.
When placing detail meshes on terrain the plant meshes seem to glide across the ground in the wind rather than waving around their own pivot point. What is making this occur?
I've tried editing the meshes that Unity provides and I've made my own in 3DS Max with the pivot point centred at the base of the plant but they all behave in the same way.
I've come across this bug, too.
Because I have customized the grass shader, I'm noticing that the detail meshes have their own shader that seems independent from the grass (because lighting is different than the grass), even though "Grass" is selected as Rendering mode. So maybe it's possible to fix the problem by editing the shader? Not sure but I'm gonna look into it.
Answer by God-at-play · Sep 29, 2011 at 07:04 PM
Based on a forum post I just found, the answer is to paint the vertex color alpha value to match how much the wind should move it.
So at the bottom of your detail mesh, the alpha should be black, and at the top some higher value depending on how much it should sway with the wind.
This seems to be a documentation bug in the Detail Mesh reference page.
Your answer
Follow this Question
Related Questions
Wind: Detail meshes for rocks moving from wind? 1 Answer
Can I stop some things in terrain > paint details from moving with the wind? 1 Answer
Detail mesh pipeline 1 Answer
Does the grass texture I add effect detail meshes that have the render mode "grass"? 0 Answers
Wind for trees and detail mesh painting, they just don't work at all 2 Answers