User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Rotate to angle

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rotate to angle

    I noticed that the Direction Calculator has the feature "Rotate to Direction". However, this only works with the in-built animation directions. Is there a way to do this, either with an extension or expression, with angles?

  2. #2
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate to angle

    *11.25

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate to angle

    Wait, I'm confused. I multiply the direction using the direction calculator and then find the angle with that? Seems weird. It doesn't sound like that would be smooth.

  4. #4
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate to angle

    HWA has no problem with float point numbers.

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate to angle

    I don't think anyone's reading me clearly. I want an item to be able to add or subtract 1 to an angle in a loop depending on where the mouse is.

    Also, I don't want to use HWA because I use extensions that are not supported.

  6. #6
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Location
    Suffolk, UK
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate to angle

    Quote Originally Posted by wizkidweb
    Direction Calculator has the feature "Rotate to Direction". However, this only works with the in-built animation directions.
    I haven't checked so I could be wrong (if so, someone correct me please) but the Advanced Direction object might help. It has a similar rotate towards feature and with the ADO you can specify how many directions it has so you could use the full 360.

  7. #7
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate to angle

    unfortunantly, that feature is indipendant of it's direction mode.

  8. #8
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate to angle

    I (sort of) made something similar. I don't know how to make it more intuitive though.

    • Angle("Active") <> LongDir("Advanced Direction Object", XMouse, YMouse, X("Active"), Y("Active"))
    - Active: Set Angle to Angle("Active")-1

    I want it to be able to rotate in a certain direction based on which way is faster.

  9. #9
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Location
    Suffolk, UK
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate to angle

    for your action, instead of set angle to angle("active")-1, just use:
    Active: Set Angle to Rotate("Advanced Direction Object",Angle("Active"),LongDir("Advanced Direction Object", X("Active"), Y("Active"),XMouse, YMouse),1)(Quality 1)

    Just tested it, works fine

  10. #10
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate to angle

    AnglePoints( "Clickteam Movement Controller", XMouse, YMouse, X( "Active" ), Y( "Active" ))
    Or if you use the Clickteam Movement Controller. But I think that the Advanced Direction object has something along those lines thats exactly the same.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Rotate (angle) vs animation on iDevice
    By loglady in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 2nd August 2012, 04:50 PM
  2. Help Please... Need to Rotate Rotate object with a wheel
    By Tuna in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 12th February 2012, 04:48 PM
  3. Rotate towards and shortest rotate direction
    By Tiles in forum File Archive
    Replies: 19
    Last Post: 2nd October 2010, 02:25 PM
  4. Screen Rotate
    By wizkidweb in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 28th November 2008, 01:40 PM
  5. rotate to an angle example
    By LazyCoder in forum File Archive
    Replies: 3
    Last Post: 20th September 2006, 04:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •