Jump to content
Search Community

kaidean

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by kaidean

  1. Hello all, I am new around these parts and I am having a slight issue... Is there a way for me to get the current rotation of an object? I am making a spinning wheel activity, I want the wheel to spin at least twice before settling in its final position, for the first spin this works fine but after that it just rotates round to the next stop rather than going round twice first. Currently the code I am using is: rotation:(degArray[a] + minSpin) + "_cw" "degArray" is where the randomised values are stored and "minSpin" is a variable set earlier (currently set to 720). What I feel I should be able to do is something like this: rotation:(currentRotation + degArray[a] + minSpin) + "_cw" I am using this in JS within Adobe Edge Animate. Thanks in advance Kai
×
×
  • Create New...