Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to deal with intersect 2d Colliders in Platformer Game?

Discussion in 'Community Learning & Teaching' started by Furkanergun, Nov 12, 2015.

Thread Status:
Not open for further replies.
  1. Furkanergun

    Furkanergun

    Joined:
    Nov 12, 2015
    Posts:
    1
    Im developing a 2d platformer game for my course project and i have a issue.There is 2 raycast on player for detect "Ground" Layers to Jump. Also i have boxes in game which are layers "Ground".When i jump while pushing boxes colliders go into eachothers and raycast touch box colliders while player jumping and if i press jump button again player jump 2 times and cause of that jump animation goes to loop.Here is a picture of this problem.
     

    Attached Files:

  2. Adam-Buckner

    Adam-Buckner

    Joined:
    Jun 27, 2007
    Posts:
    5,664
Thread Status:
Not open for further replies.