Save angle to Angle attribute issues
Hi there.
Im making a watch with a couple of functions for my game.
The clock pointers can be rotatet in a neat circle. works great.
But now i want to add a function to rotate the smal pointer 60 times slower then my large pointer. when i press and rotate the large pointer.
What im trying to do is this.
Small pointer
Rule attribute.
Rotate to angle - Angle attribute/60 I see this is wrong already as i will never be to move a full clock but only one hour. But right now thats not relevant i just want the pointer to move.
Large pointer.
Behavior change attribute - Angle attribute -> self.rotation
When i used integer attribut atleast i could see that something was saved in the attribute. Now im not sure.
Im making a watch with a couple of functions for my game.
The clock pointers can be rotatet in a neat circle. works great.
But now i want to add a function to rotate the smal pointer 60 times slower then my large pointer. when i press and rotate the large pointer.
What im trying to do is this.
Small pointer
Rule attribute.
Rotate to angle - Angle attribute/60 I see this is wrong already as i will never be to move a full clock but only one hour. But right now thats not relevant i just want the pointer to move.
Large pointer.
Behavior change attribute - Angle attribute -> self.rotation
When i used integer attribut atleast i could see that something was saved in the attribute. Now im not sure.
Comments