The "attribute test" of particle angle change.
#1
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
  Reply
#2
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.


Attached Files
.max   measureAngle.max (Size: 696 KB / Downloads: 193)
  Reply
#3
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?
  Reply
#4
Perhaps at some point.
  Reply
#5
Thank you. I'm looking forward to it!
  Reply


Forum Jump: