User Tag List

Results 1 to 4 of 4

Thread: object collisions

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Apr 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    object collisions

    Hi

    is there a way to make for example a square object react to collisions ONLY if another object collides with it from the right side? thus if something collides with it from the left it won't react.

  2. #2
    No Products Registered

    Join Date
    Aug 2010
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: object collisions

    You could test the X,Y values...
    something like
    collision
    + if X(incoming) <= X(target) = do it

    It depends on your overall set up.

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Apr 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: object collisions

    My target is p.e BOX and the incoming would also be box but one that was created by the "create new object" ext. at runtime. I never could figure out how to distinguish them from one another in the code be it via alterable value in that each new BOX gets a new value but i'm it is happening somehow in the background. So would you suggest the boolean object to get the if statement or just with the MMF2 conditions?

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Apr 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: object collisions

    Thanks for the suggestion i will be trying it shortly. So on the side, how do i(if possible) distinguish between the different objects of the same name that gets created at runtime?

Similar Threads

  1. Detecting Collisions Once Per Object
    By PushTheLimit in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 29th April 2013, 02:54 AM
  2. No Collisions with Picture Object in HAM
    By Nicholas Martin in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 2nd April 2013, 01:09 AM
  3. Replies: 2
    Last Post: 24th July 2009, 06:47 AM
  4. Collisions object
    By Roseweave in forum Extension Development
    Replies: 14
    Last Post: 17th June 2008, 04:32 PM
  5. Since we cannot negate object collisions...
    By Tuna in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 18th March 2008, 05:51 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
  •