03-26-2013 08:45 AM - edited 03-26-2013 08:48 AM
Hi all,
I'm getting some weird behaviour when setting a dial scale position start by a property.
As the requested angle approaches 200, it becomes more difficult to select the dial value 7.
Eventually you can't select it at all.
I've tried various methods to convert the requested degree value to radians and compensate for the 90 degree offset but this just shifts the problem area to another quadrant.
I've attached an example that shows the problem.
Any ideas?
Phill
03-28-2013 12:31 PM
That is a strange one. I'm having a little play about, will let you know if I can find any root cause.
Is there a reason you need to do this programmatically? You can rotate a dial in edit time (by moving your mouse over the marker for one of the number scale, and dragging), and it doesn't seem to cause the same problem. You can move it to any angle without problems. It may just be a problem with the way the property node works.
03-28-2013 01:41 PM
If it is negative, try adding 2pi to the start value so that it is always positive. Just a guess.
04-02-2013 03:41 AM
Hi Ian,
thanks for the reply.
Yes I can do it at edit time, but I'm trying to embed the functionality in a XControl for runtime modification.
Phill
04-02-2013 03:43 AM
Hi Darin,
Thanks for the reply.
I've tried adding 2pi but this just moves the problem to another quadrant. Will trying adding 2pi and 360 mod of the result.
Phill
04-02-2013 04:15 AM
BTW my fix is attached.
Phill