Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2011
    Location
    Kansas
    Posts
    181

    Physics Issue in 2D Game series

    I have an issue that I'm sure is collider/physics related, but I'm not sure how to fix it.

    In level 1 of the 2D game, near the beginning, you ride a platform up to the left to a small ledge with a cannon firing at you. My problem is that if a projectile hits me while I am on the ledge, it knocks me back against the level wall and I end up stuck to the wall, slowly sliding up. If I hit jump/rightarrow repeatedly very quickly, sometimes I can get loose, but usually I end up stuck and sliding clear to the top of the wall.

    What could be causing this?

  2. #2
    Join Date
    Aug 2011
    Location
    Kansas
    Posts
    181
    I made a small video to show the problem. Any vertical surface, if I hit it while not grounded, the player just slowly climbs up. Jumping, moving, etc. will not get me loose from it. I've tried making a physics2D material with 0 friction and applying it to the bricks, to the player, and to both, but that doesn't solve it.

    https://www.youtube.com/watch?v=8wzA...ature=youtu.be

    Anyone have an idea how to fix this?

Posting Permissions

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