User Tag List

Results 1 to 5 of 5

Thread: Layer collision

  1. #1
    No Products Registered

    Join Date
    Dec 2006
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Layer collision

    There is any way of make an object to collide on any layer? I want to use some layers to bring objects in front and some others behind and I would like to make them to collide with any object on any layer. Also i would like to have some backdrops that collide on various layers. Is this possible? If it isn't, it would be a nice feature to add a multilayer collision detection property.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Layer collision

    No, you'd have to have invisible objects/layers for collisions or something.
    .:::.Joshtek.:::.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Layer collision

    A good method is to put all objects with collision detection in one layer, and all the gfx in other layers.
    Then just have events to always set the position of the gfx objects above the real objects.

  4. #4
    No Products Registered

    Join Date
    Dec 2006
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Layer collision

    No, its not for use, because i want to use layers to avoid collisions. For example, i have some pseudo 3D effect for rotating spikes, so depending of the layer the character is, it collides with some balls or with other ones, but i have to add the backdrops to all the layers to make the character to dont fall behind the ground chen changing layer.

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Layer collision

    Use Joshtek's method. Have collider objects on all layers. OR, alternatively, if you don't need to check several layers simultaneously, try shifting the detector objects from one layer to another (after re-reading your post, I think this second option is more for you).

    I've used the detector-on-all-layers method (the first option) to good effect before in making a sunglare effect (so a paralax mountain blocks out the flash of the sun, but so do objects scrolling at different speeds on closer layers).

Similar Threads

  1. Collision on layer 2 not working properly
    By willy in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 2nd March 2011, 07:30 AM
  2. Deleting empty layer affects collision
    By RayMarble in forum File Archive
    Replies: 0
    Last Post: 24th October 2010, 01:46 PM
  3. Problem with Collision Mask and Layer Wrapping
    By crusher in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th August 2008, 10:04 AM
  4. Bug?: Collision with box broken above layer 1
    By Gamerdude in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 4th January 2007, 08:36 PM
  5. Collision detection if not on the same layer?
    By the_raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 24th July 2006, 03:52 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
  •