The "attribute test" of particle angle change. - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html) +--- Thread: The "attribute test" of particle angle change. (/thread-2528.html) |
The "attribute test" of particle angle change. - cgdvs - 07-19-2021 HI,Tyson! The "attribute test" of particle angle change. If the particle rotates 90 degrees (or local coordinates) in the z-axis direction, how to test the output? I tried "spin."_ I found "spin"_ Z "only tests the value, not the angle change. So how do we test the output "particle angle" change test? thx RE: The "attribute test" of particle angle change. - tyFlow - 07-19-2021 You can do this with the Script operator. I've attached a file showing how. The key is to measure the dot product of your normalized vectors, then calculate the acos of that dot and then multiply by the radian-to-degree constant, to get the angle between them. RE: The "attribute test" of particle angle change. - cgdvs - 07-19-2021 Thank you for your papers. I'll study hard. By the way, will this particle angle test be added to the property test operator in the future? RE: The "attribute test" of particle angle change. - tyFlow - 07-19-2021 Perhaps at some point. RE: The "attribute test" of particle angle change. - cgdvs - 07-19-2021 Thank you. I'm looking forward to it! |