I am trying to determine WHERE the wheel stops in my other forum post. I have determined a range of values based loosely on Euler sets to tell what pitch roll and yaw stands for every number on the wheel.
I need to compare the final position of the wheel to these values to output what number is showing on the wheel...
How?
I tried to get fancy with select case but no go. I tried a convoluted If then statement but it did not work.
BTW numbershow id the entityroll$(mesh) value and numberroll is the entityyaw#(mesh) value.
-RZ
I need to compare the final position of the wheel to these values to output what number is showing on the wheel...
How?
I tried to get fancy with select case but no go. I tried a convoluted If then statement but it did not work.
If numbershow < -17 And numbershow > 17 And numberroll=0 Then wheelnumber = 3 If numbershow < 18 And numbershow > 53 And numberroll=0 Then wheelnumber = 2 If numbershow < 54 And numbershow > 90 And numberroll=0 Then wheelnumber = 1How can I check a range of values?
BTW numbershow id the entityroll$(mesh) value and numberroll is the entityyaw#(mesh) value.
-RZ