wateryfield Posted March 8, 2015 Share Posted March 8, 2015 (edited) Hi, guys. So there is a problem when i created a point solver SOP in foreach. I have three moving point which i want generate their trail each, so i merge their last frame in solver SOP. After above steps, the point haven't get a nice trail, it looks like only one point works, the rest of them just disappeared. I will be appreciated if someone can help me out. Thanks. point_solver_in_foreach2.hip Edited March 8, 2015 by wateryfield Quote Link to comment Share on other sites More sharing options...
rayman Posted March 8, 2015 Share Posted March 8, 2015 Well, you are asking for trouble here - throwing DOP network inside foreach, expecting to have multiple instances of it. I'm actually surprised that it doesn't crash instantly... Usually you can skip the foreach - wrangles are really nice workaround. Or if there is no other way - you can put the foreach inside the sop solver. 2 Quote Link to comment Share on other sites More sharing options...
wateryfield Posted March 9, 2015 Author Share Posted March 9, 2015 Well, you are asking for trouble here - throwing DOP network inside foreach, expecting to have multiple instances of it. I'm actually surprised that it doesn't crash instantly... Usually you can skip the foreach - wrangles are really nice workaround. Or if there is no other way - you can put the foreach inside the sop solver. Thanks for your advice. Rayman. But throw a DOP network do you mean a POP network or make point as point object. It seems too heavy. So put the foreach inside sop solver was also in DOP network, i try foreach inside solver, seems not working too. And the Wrangle way, i will have a try with loop. Thanks. Quote Link to comment Share on other sites More sharing options...
rayman Posted March 9, 2015 Share Posted March 9, 2015 I mean that using sop over inside foreach is the same as using dop network inside foreach - both are basically the same and won't work as expected. Foreach inside SOP solver or DOP network will work - at least it always work in my cases. Quote Link to comment Share on other sites More sharing options...
wateryfield Posted March 9, 2015 Author Share Posted March 9, 2015 I mean that using sop over inside foreach is the same as using dop network inside foreach - both are basically the same and won't work as expected. Foreach inside SOP solver or DOP network will work - at least it always work in my cases. Forgive my poor English, I totally misunderstood what you meant. Now it works, last time i just forgot the eachAttribute. Thanks, Rayman. Quote Link to comment Share on other sites More sharing options...
wateryfield Posted March 9, 2015 Author Share Posted March 9, 2015 (edited) Forgive my poor English, I totally misunderstood what you meant. Now it works, last time i just forgot the eachAttribute. Thanks, Rayman. But in this way put the foreach inside solver was the same result with just add a foreach after solver. point_solver_in_foreach2.hip Edited March 9, 2015 by wateryfield Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.