Attribute is not controlling the wind as expected.
528 3 1- swikarp
- Member
- 11 posts
- Joined: 4月 2022
- Offline
Hi folks,
I want to control wind based on my 'activate' point attribute. 'activate' attribute is set to value 1 over time along y-axis.
I have set up simple vellum grain. And I have turned of the gravity on sop level in vellum solver. Inside the vellum solver, I have pop wind where I set the value to " -9.8 " and I have used the vex expression " wind.y = f@activate " . But it doesn't seem to work rather vellum grains are floating. How do I get the wind controlled by my 'activate' attribute ?
Thanks in advance
I want to control wind based on my 'activate' point attribute. 'activate' attribute is set to value 1 over time along y-axis.
I have set up simple vellum grain. And I have turned of the gravity on sop level in vellum solver. Inside the vellum solver, I have pop wind where I set the value to " -9.8 " and I have used the vex expression " wind.y = f@activate " . But it doesn't seem to work rather vellum grains are floating. How do I get the wind controlled by my 'activate' attribute ?
Thanks in advance
- Enivob
- Member
- 2625 posts
- Joined: 6月 2008
- Offline
- mawi
- Member
- 251 posts
- Joined: 1月 2008
- Offline
The solver is only reading the attribute from SOPs on creation frame, so if you check your geometry spreadsheet it most probably is 0 thru out the whole sim.
You could update the attribute or write your activision code inside the solver using a pop wrangle.
The floating.
They catch momentum when moved from intersection on first frame.
You could update the attribute or write your activision code inside the solver using a pop wrangle.
The floating.
They catch momentum when moved from intersection on first frame.
Edited by mawi - 2024年10月5日 17:09:44
- swikarp
- Member
- 11 posts
- Joined: 4月 2022
- Offline
Thanks mawi. Enivob, the wind thing doesn't seem to solve the issue, anyway thanks.It seems like solver is not importing attribute each frame as mawi said, we have to import attribute from point wrangle and fix the input section to the sop path. Thanks a lot guys.
-
- Quick Links