User Tag List

Results 1 to 7 of 7

Thread: Two objects overlapping an object?

  1. #1
    No Products Registered

    Join Date
    Jul 2007
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Two objects overlapping an object?

    I'm sure there is some really simple solution for this little problem of mine, but anyway...how can you detect if two duplicates/clones (created at runtime) of object A are overlapping object B at the same time?


  2. #2
    No Products Registered

    Join Date
    May 2007
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Two objects overlapping an object?

    Maybe toss in a counter and have

    1. if object A is overlaping B , (limit it to once per loop)
    then add one to counter.


    2. if object A is NOT overlapping, set counter to "0", (limit once per loop)

    and make

    3. if counter = 2,(limit once per loop) then do *whatever*


    ???

  3. #3
    No Products Registered

    Join Date
    May 2007
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Two objects overlapping an object?

    Not sure what you mean by "at the same time", (1 above may have trouble with that)


  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Two objects overlapping an object?

    It depends on whether there are multiple Bs.

    If not, then:
    Always set alt value of B to 0
    A overlapping B: Add one to alt value of B
    counter contains number overlapping.

    The Select Object could help too.
    (A overlapping B, set counter to NumSelected(A))

    I don't think either of these work with qualifiers.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Two objects overlapping an object?

    I think there's also the object select extension with a "number of objects which met the conditions" expression you could use.

  6. #6
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Two objects overlapping an object?

    I said that.

  7. #7
    No Products Registered

    Join Date
    Jul 2007
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Two objects overlapping an object?

    Ok, thanks. I'll try to figure out something. I'm using both multiple object A's and object B's with qualifiers, so it seems to be a little trickier.

Similar Threads

  1. Counting Number of Objects Overlapping Another Object?
    By Verbage in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 28th April 2012, 09:16 PM
  2. Overlapping Objects
    By ad in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th March 2010, 06:49 AM
  3. 2 objects are overlapping with same value?
    By Skeets in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th March 2009, 06:46 AM
  4. Help! Objects Overlapping
    By Eliyahu in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th February 2008, 05:20 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
  •