Why can't I rotate 10 degrees at a time?
Hi all,
I need a circle to rotate 10 degrees every time it is pressed, but i've put a display text on the actor and it rotates from 0 to 9.99,19.99 etc.
What is going on? It used to work ok.
I need a circle to rotate 10 degrees every time it is pressed, but i've put a display text on the actor and it rotates from 0 to 9.99,19.99 etc.
What is going on? It used to work ok.
Comments
Thanks for replying,
No it's still not working, I think it's since they put 0.0 in the fields rather than 0.
But surely it should be able to count in tens! :-L
: (
create an local index attribute called rotationAngle or something
constrain rotation to rotationAngle
then when touch is pressed
change attribute rotationAngle to RotationAngle + 10
that but doesn't seem to effect index attributes in my testing.
I got it to work using 360 instead of 0 even though it goes to 359.999etc.