smooth rotation by pushing the mouse

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi, i need help with rotating, i want to basically make like this:

    If you hold and click your mouse and grab to the left, the ball rotates to the right, like pushing an image on the cellphone,
    but also want it to have a smooth rotation, after you ungrab your mouse, the ball starts moving slowly until it stops
    and vice-versa

    sorry for bad english, but can someone help me? thanks

  • Hi... I dont really understand...........but.........Try turning on auto rotation.

    However.........If this is NOT what your talking about, then try this.......

    I wrote a game where you had to rotate a tank turret, and this is what you have to add to your program to get it to rotate:

    ( ATan2(Y( "gun" ) - YMouse, XMouse - X( "gun" )) )

    Where "gun" is the name of your ball object.

    That will do it. :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!