User Tag List

Results 1 to 10 of 10

Thread: Possible bug in PMO collision detection

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jul 2010
    Location
    Italy
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Possible bug in PMO collision detection

    Hi all!
    I think I've found a bug in Platform Movement Object collision detection. Sometimes the object set to PMO simply falls down through a platform.
    Here is the .mfa. Probably you won't have to play it for more than a minute before the bug happens.
    Maybe it isn't a bug and I'm doing something wrong. If that's the case, how can I solve it?
    Thank you in advanced for the support!

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible bug in PMO collision detection

    I played it for 10 minutes and there is nothing wrong with it, nor is there anything wrong with the code. Maybe a video of this would help? Honestly with 10 minutes of solid play there were no problems at all.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Mar 2009
    Location
    Australia
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible bug in PMO collision detection

    I think I know the problem your talking about
    It's a bit difficult to spot if you don't know exactly what it is.

    The only solution I've found is to make the object used for collisons shorter maybe only a couple of pixels tall.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jul 2010
    Location
    Italy
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible bug in PMO collision detection

    I've made a video. The bug happens after about a minute: video .

    @Atherton: You mean I should use an invisible object that stays at the coordinates of the visible object and make it shorter?

    Thank you again for your help!

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible bug in PMO collision detection

    I was finally able to reproduce it. The problem is that it is touching two jump-through platforms at the same time, one below it and one above it, which the PMO does not like because of how it does collision tests. You can use the Select Object Extension to select the one with the higher Y value (the one below the player) in the condition that checks for platform overlaps, this way the PMO does not get confused.
    Working as fast as I can on Fusion 3

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jul 2010
    Location
    Italy
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible bug in PMO collision detection

    @LB
    First of all thank you very much for spending your time to help me to find out the problem.
    I've tried to place 2 or 3 platforms overlapped one above the other, but this bug didn't happen. I've also tried to put only one platform object for every "row", to be sure that when they wrap around the play area they couldn't overlap, and this bug happened.
    I'm afraid that platform overlapping isn't the cause of the bug.

  7. #7
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible bug in PMO collision detection

    It is, look carefully at the video. The top part of the player is touching a platform at the same time as the lower part of the player is touching a different platform. I can reproduce it every time without fail.
    Working as fast as I can on Fusion 3

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jul 2010
    Location
    Italy
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible bug in PMO collision detection

    Wow! You're right!
    It's great to know what causes the problem. Do you thing there is a way to solve it without the Select Object Extension? Because it's not supported in iOS.
    Thank you again!

  9. #9
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible bug in PMO collision detection

    You can make your character one pixel high for the PMO and display them however high you want
    Working as fast as I can on Fusion 3

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jul 2010
    Location
    Italy
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Possible bug in PMO collision detection

    Perfect! Thanks for the advice!

Similar Threads

  1. Box collision detection problem
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th January 2013, 02:07 PM
  2. détection collision
    By graboide in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th December 2010, 05:24 AM
  3. Collision detection... broken?
    By RickyRombo in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 4th August 2010, 10:16 PM
  4. Collision Detection with Slopes
    By AeoniX in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 18th February 2008, 11:16 PM
  5. Collision detection
    By Crash86 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 1st April 2007, 04:50 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
  •