Why can't I rotate 10 degrees at a time?
Fal01
Member Posts: 460
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.
It’s not a bug – it’s an undocumented feature
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
It’s not a bug – it’s an undocumented feature
: (
It’s not a bug – it’s an undocumented feature
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.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
I got it to work using 360 instead of 0 even though it goes to 359.999etc.
It’s not a bug – it’s an undocumented feature