User Tag List

Results 1 to 4 of 4

Thread: How do i collide with walls?

  1. #1
    No Products Registered

    Join Date
    Jul 2010
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do i collide with walls?

    Still need help in colliding with walls.. Reversing the direction is just not doing it :/ Is there any better way of doing this?

  2. #2
    No Products Registered

    Join Date
    Dec 2010
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do i collide with walls?

    This example I quickly made might help you: http://www.mediafire.com/?dh584b5f3do71rf
    This is a very crude example, of course. The character will move leftwards if he is not standing next to a wall, and the same will happen if he tries to move rightwards. If he is accidentally inside of a wall (overlapping) we will move our character outside, and then that's it. The key here is to be creative. Think about what "colliding" with a wall really is. Colliding with a wall, simply put of course, is when the character enters the area of a wall and then steps out. This stops him from passing through the wall.
    If you want to get wall collision more accurate and complicated you can study the .mfx extension named "Move Safely".
    I hope this helped you.

  3. #3
    No Products Registered

    Join Date
    Jul 2010
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do i collide with walls?

    dude thank you so much

  4. #4
    No Products Registered

    Join Date
    Dec 2010
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How do i collide with walls?

    No problem, always happy to help someone.
    Happy new year to whoever reads this

Similar Threads

  1. How to get the coordinates of the two objects collide
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 12th February 2012, 09:25 PM
  2. How do I collide on different layers?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 11th September 2011, 09:37 PM
  3. Projectiles Collide at once?
    By Pixzel in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th May 2011, 10:12 AM
  4. How to collide with corners?
    By MostDreaded in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 2nd January 2011, 02:56 AM
  5. how to collide with walls?
    By MostDreaded in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 31st December 2010, 02:43 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
  •