euler_rotation.script 161 B

1234
  1. function init(self)
  2. -- rotate clockwise one full revolution in two seconds
  3. go.animate(".", "euler.z", go.PLAYBACK_LOOP_FORWARD, -360, go.EASING_LINEAR, 2)
  4. end