User Tag List

Results 1 to 5 of 5

Thread: Objhect following mouse, how to make it stop when colliding with wall?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Objhect following mouse, how to make it stop when colliding with wall?

    I have an example here of an object following the mouse around in all directions. The problem is that I want it to stop when going into a "wall" but I have no idea how to do that :S Anyone know?
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5
    Del_Duio's Avatar
    Join Date
    Sep 2008
    Location
    Cygnus X-I
    Posts
    944
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I'm at work so I can't view your example but maybe have one of the "object following the mouse" stipulations be +Object is overlapping a wall <NEGATED>

    So that'd way it'd only follow the mouse if the object wasn't overlapping a wall.

  3. #3
    Clicker Fusion 2.5
    Del_Duio's Avatar
    Join Date
    Sep 2008
    Location
    Cygnus X-I
    Posts
    944
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Ah sorry, also when the object collides with that wall you'd want to make it's SPEED = 0 to get it to stop.

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Del_Duio View Post
    Ah sorry, also when the object collides with that wall you'd want to make it's SPEED = 0 to get it to stop.
    But it needs to be able to continue to move

  5. #5
    Clicker Fusion 2.5Android Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    Wackyjackie's Avatar
    Join Date
    Aug 2011
    Location
    Poland
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

Similar Threads

  1. How to make player bounce back when hitting wall?
    By path in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th July 2013, 08:56 AM
  2. How to make player completly stop after getting hurt and colliding with an obstacle
    By path in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd June 2012, 03:42 AM
  3. Way to avoid platforming stop when hitting wall?
    By evilpantsmaster in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 11th May 2009, 03:42 PM
  4. How do I make an object spin when it hits a wall?
    By Vackin in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 28th October 2007, 04:48 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
  •