User Tag List

Results 1 to 3 of 3

Thread: [help] calculate point on rotated active as if....

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [help] calculate point on rotated active as if....



    I need to get the relative coordinates from the center of the box to where the bird is overlapping. BUT I need to get the coordinates as if the box isn't rotated even if it is. I hope the jpeg helps explain exactly what I'm trying to do.

    Any help would be much appreciated.

  2. #2
    No Products Registered

    Join Date
    Jan 2008
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [help] calculate point on rotated active as if....

    Use the advanced direction object.

    Set A to: Direction_between_two_points(Xctr, Yctr, Xbird, Ybird)-Angle(box)

    Set B to: Distance_between_two_points(Xctr, Yctr, Xbird, Ybird)

    X = Cos(A)* B
    Y = -Sin(A)* B

    X and Y are the relative coordinates you are looking for.
    Haven't tested it, but it should work

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [help] calculate point on rotated active as if....

    It works, thanks!

Similar Threads

  1. Smooth Filtering for rotated Active Picture?
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 13th April 2012, 03:36 PM
  2. Action Point on Active Picture Object
    By reptilezero in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 29th January 2012, 11:35 PM
  3. how to calculate rotated hotspot?
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 8th July 2011, 08:45 PM
  4. Rotate active object about a point
    By Digitalic in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 3rd June 2010, 03:21 PM
  5. how many times has an active rotated?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 8th July 2009, 01:21 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
  •