User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15

Thread: Line overlaps and object?

  1. #11
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Line overlaps and object?

    I can but not at the moment. Maybe later I'll get back to u on that

    ADO (Advanced Direction Object)

  2. #12
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Line overlaps and object?

    Or you can use math. I think if you get 360 and subtract the degrees from it, it will give you the degrees in reverse.

    Eg: you get 25 degrees = 360-25 = 335 degrees

  3. #13
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Line overlaps and object?

    Turns out that atan2(-y, x) works. If the result is a negative value, you add 360 to it. That gets a range of angles from 0 - 360 going counterclockwise with 0 degrees on the right/east side of the circle.

    Thanks anywho. This thread has taut me loads.

    Mobichan

  4. #14
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Line overlaps and object?

    Probably simpler with ADO but glad you figured it out!

  5. #15
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Line overlaps and object?

    Quote Originally Posted by RickyRombo
    All I got is:

    Compare two general Values: Y("Object") = (Y("Fixed")-YMouse)/(X("Fixed")-XMouse)*X("Object")+(Y-(Y("Fixed")-YMouse)/(X("Fixed")-XMouse))
    + XMouse < X("Fixed")
    +X("Object") < X("Fixed")
    + X("Object") > XMouse

    Compare two general Values: Y("Object") = (Y("Fixed")-YMouse)/(X("Fixed")-XMouse)*X("Object")+(Y-(Y("Fixed")-YMouse)/(X("Fixed")-XMouse))
    + XMouse > X("Fixed")
    +X("Object") > X("Fixed")
    + X("Object") < XMouse

    That's just to see if there is something in between the two points. I'm sure there would be a way to get the entire box through this like xyzzy said, except you would get even the transparent ones anyway. I haven't tested it yet, but I'll see if it works.
    For some reason MMF2 rounds it so it doesn't

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Only show part of object that overlaps another
    By Ryzla in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th December 2013, 06:03 PM
  2. If bullet overlaps a certain object, damage the shooter of the bullet
    By StardustSpeedman in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 10th September 2012, 02:43 PM
  3. Change List Object Line Color - One Line Only?
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 21st December 2008, 05:58 PM
  4. Clicking only 1 object while overlaps happen?
    By pulp in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 9th July 2008, 06:15 PM
  5. Blocking Overlaps with an Object
    By Dines in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 27th April 2007, 04:04 PM

Posting Permissions

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