Save angle to Angle attribute issues

mighty_poohmighty_pooh Member Posts: 20
edited August 2012 in Working with GS (Mac)
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.

Comments

  • mighty_poohmighty_pooh Member Posts: 20
    right. Constrain attribute seems to be geeting part of the job done. Now i need to figure out how to make it rotate 60 times slower then the big pointer.
Sign In or Register to comment.