User Tag List

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

Thread: How Do I Make Collision Masks For Active Objects?

  1. #11
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleInstall Creator Pro
    Julian82's Avatar
    Join Date
    May 2012
    Location
    outbuddies.com
    Posts
    990
    Mentioned
    50 Post(s)
    Tagged
    0 Thread(s)
    @casleziro: Strange thing... collision detection was still fine on my build. You should consider posting to the bugbox!

  2. #12
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Oct 2006
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Julian82 View Post
    The method of PBarwick is the way to go if you only have to handle one instance of an object, however it can get very tricky if you have to handle a lot of instances of the same object, as you will have to use for each loops to handle the correct assignment of the collision objects to their parents.
    I strongly recommend this tutorial about setting up so called "embedded" collision detectors.

    http://www.diybandits.com.au/MMF/tut...embedded1.html

    What it basically means is that you have your active object --> switch to an embedded detector animation (the shape you want) and check for collision --> switch back to your displayed animation before the renderer triggers (end of your frame loop). If you really learn how to use it will allow advanced AI programming and a lot of other fancy stuff!
    Unfortunately there is one big problem: The method is broken since build 285.0 (beta). It seems that CT changed the way animations are restored causing animations to freeze if you switch to an embedded detector and back within one frame loop. I posted it in the bugbox, but I don┤t expect to get this fixed soon.. However you are fine if you use the last official release build 284.10
    Hope that helps!

    http://bugbox.clickteam.com/issues/3421
    Fascinating. I never knew this.

  3. #13
    Clicker Fusion 2.5 Developer
    PBarwick's Avatar
    Join Date
    Jul 2014
    Posts
    390
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I think having a good understanding of ForEach and Fast Loops is such a generally applicable tool that I'd still pick using it over the embedded collision detector method, despite it's clever design. Whatever works best for you though is always the way to go!

  4. #14
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    679
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    @Julian82 I'll do that

    collision disabled.jpg

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Collision Masks for every object?
    By Alves in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 17th January 2010, 10:53 AM
  2. Collision Masks?
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th June 2009, 04:43 PM
  3. Messing with collision masks
    By Ben2theEdge in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th January 2007, 02:32 PM

Tags for this Thread

Posting Permissions

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