Results 1 to 6 of 6

Thread: Rotating objects around a point

  1. #1
    No Products Registered

    Join Date
    Nov 2007
    Posts
    455

    Rotating objects around a point

    Quick question. How can I rotate objects around a fixed point? Just using Set Angle rotates around the hotspot. I'm pretty certain there's a better way to do this other than using a separate Active for each object and guestimate where the hotspot needs to be xP

    I can't figure out the formula for it, though. The centre of rotation is the midpoint of the frame, btw

  2. #2

    Re: Rotating objects around a point

    Try reading this: http://howtoproperly.com/rotate-points-using-polar-coordinates/

  3. #3
    No Products Registered

    Join Date
    Nov 2007
    Posts
    455

    Re: Rotating objects around a point

    Oh, thanks

    How do you get Inverse Tan in MMF2? I can only find Tan and Arc Tan. Unless Arc Tan is Inverse Tan... ugh, it's been a while since I covered this stuff at college xS

    EDIT: Doesn't matter, it appears Arctan is the same. Problem solved. Back to college for me, it seems xP

  4. #4
    No Products Registered

    Join Date
    Nov 2007
    Posts
    455

    Re: Rotating objects around a point

    Nope, problem not quite solved. Doesn't seem to matter where I tell it to put the relative X and Y co-ordinates (relative from the origin, an object called CentrePoint), it only ever rotates around 0,0 of the frame itself. I think I've probably done something wrong with the fastloop. I'll upload to File Archive if anyone can help?

  5. #5
    Clicker Fusion 2.5 Developer iOS Export Module SWF Export Module 

    Game_Master's Avatar
    Join Date
    Jul 2007
    Location
    England
    Posts
    1,644

    Re: Rotating objects around a point

    You can set the hotspot for an active picture (aka the rotating point).
    MacBook Pro (Late 2011) with 16GB RAM
    Parallels 8
    with Windows 7 Professional
    MMF2 Developer with Flash and iOS exporters

  6. #6

    Re: Rotating objects around a point

    This should give the the info you need:
    http://mathforum.org/dr.math/faq/formulas/faq.polar.html

Similar Threads

  1. Rotating objects?
    By Zambaku in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th March 2009, 12:34 AM
  2. An interesting Q about rotating objects
    By Pixelthief in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 9th February 2009, 06:12 PM
  3. Rotating objects around a point
    By Raylax in forum File Archive
    Replies: 14
    Last Post: 28th December 2008, 11:17 PM
  4. Rotating and scaling towards point
    By Brandon in forum File Archive
    Replies: 18
    Last Post: 19th July 2007, 02:29 PM
  5. Rotating Objects Question
    By Jellyhead365 in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 28th October 2006, 01:01 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
  •