User Tag List

Results 1 to 8 of 8

Thread: Rotating an object towards something

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rotating an object towards something

    A somewhat simple example of slowly rotating an arrow to look directly at a mouse cursor. People seem to want to know how to do this so I just made an example that does two things:

    1.)Determine the "angle" between two points (this is the most complicated part)
    2.)Rotate and object slowly towards an angle, rather than just setting it instantaneously.

    You don't need the "direction calculator" or any extra extensions. If my comments are confusing let me know and I'll try to explain them better. :P
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rotating an object towards something

    A somewhat simple example of slowly rotating an arrow to look directly at a mouse cursor. People seem to want to know how to do this so I just made an example that does two things:

    1.)Determine the "angle" between two points (this is the most complicated part)
    2.)Rotate and object slowly towards an angle, rather than just setting it instantaneously.

    You don't need the "direction calculator" or any extra extensions. If my comments are confusing let me know and I'll try to explain them better. :P

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Location
    Texas
    Posts
    1,002
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotating an object towards something

    cool but, how is that different then this: Rotating objects towards a point?

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Location
    Texas
    Posts
    1,002
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotating an object towards something

    cool but, how is that different then this: Rotating objects towards a point?

  5. #5
    No Products Registered

    Join Date
    Jun 2006
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotating an object towards something

    Erm there was already a thread on the exact same thing. Heh, your method was similar to the one i used, though vortex's is the simplest by far (a few posts down in the thread).

    Edit: looks like vortex got there first

    I guess he musta missed it; its on the second page.

  6. #6
    No Products Registered

    Join Date
    Jun 2006
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotating an object towards something

    Erm there was already a thread on the exact same thing. Heh, your method was similar to the one i used, though vortex's is the simplest by far (a few posts down in the thread).

    Edit: looks like vortex got there first

    I guess he musta missed it; its on the second page.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotating an object towards something


    Oh well, I guess I missed that one. Anyway, I made the example so it can do the same thing with 32 directions, since people seem to want to be able to do that too. Check the second frame of this new example.
    Attached files Attached files

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotating an object towards something


    Oh well, I guess I missed that one. Anyway, I made the example so it can do the same thing with 32 directions, since people seem to want to be able to do that too. Check the second frame of this new example.

Similar Threads

  1. Rotating a String Object?
    By Paul_Boland in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 2nd December 2013, 11:28 PM
  2. Multiple object rotating...
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 10th February 2012, 04:26 PM
  3. rotating an active object
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th February 2009, 03:33 PM
  4. Rotating an object like a ball with PMO @_@!!!!
    By Adam in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 30th November 2008, 08:34 PM
  5. Rotating an object using the Direction Calculator
    By Adam in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 27th March 2008, 01:46 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
  •