Jump to content
Search Community

Damo

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Damo

  1. Hello,

     

    I now have the membership and the ThrowProps plugin :-)

     

    With regards using: TweenMax.to(knob, 1, { rotation: deg, ease: Linear.easeNone });

     

    I'm passing value between 0-360 to set the knob rotation, however after multiple user rotations of the knob the actual knob position is greater than 360, this will result in the knob spinning back around several times to settle between the specified value of 0-360.

     

    What is the best way to set the knob rotation in this scenario to prevent this behavior?

     

    Many Thanks

     

    Damien

  2. Hello,

     

    Sorry if this is a simple one but just wondered if anyone could help me with this demo:

    See the Pen eDxKh by GreenSock (@GreenSock) on CodePen

     

    I'm trying to limit the output to 0 - 360 the dial can have unlimted rotations backwards and forwards but not show a negative value, currently if the first rotation is anti clockwise the output is a negative value.

     

    Thanks in advance and thanks to Carl for the initial demo.

  3. Hi Carl,

    Thanks for the quick response, I soon realised this after reading the license statement at the top of the file, I’m just experimenting at the moment to see if this will be valid for our current project which I think it will.
     

    Do you mind if I ask a couple of questions:
     

    1. Will "snap" still work when not using ThrowProps, I can’t see that it does at the moment?
     

    2. How would I reset the knob.rotation to 0 after complete turn so I am only dealing with the degrees 0 - 360 but yet still allowing multiple turns, i.e I don’t wan to just restrict to one turn?
     

    Many Thanks

    Damien

  4. Hi,

     

    Sorry I've only just started to look at this libary and have hit a problem looking at one of the demo pages:

    See the Pen gnoDc by GreenSock (@GreenSock) on CodePen

     

    If I take this and run it locally with no changes to the code the throwProps functionaility no longer works, I must be missing somthing really obvious, here is a hosted version of it: http://rdys.proofing5.brayleino.co.uk/ no console errors etc, unchanged but no throwProps function.

     

    Thanks in advance.

     

    Damo

     

×
×
  • Create New...