Search Unity

Composite Collider breaking jump only when facing a specific direction

Discussion in 'Physics' started by FBole, Jan 11, 2021.

  1. FBole

    FBole

    Joined:
    May 27, 2017
    Posts:
    2
    Hello everyone,

    To test out level design ideas on a 2D platformer, I've made several repeatable assets. When placing them and giving them individual box colliders, I have no problem at all. The issue comes whenever I try making them all use a composite collider located on the parent game object.

    For some reason, when doing so and my character facing left, the jump registers but the character stays stuck to the ground. It is worth noting that when moving right, none of this happens and everything works out fine.

    I was using Overlap circle to ground check and stumbled across a post with similar issue that stated this might be the issue, so I tried setting up ground check points with raycasting but the issue remained. I also tried messing around with different types of physics materials and switching out the geometry type on the composite collider but nothing does the trick.

    Has anyone else been facing this issue ? The Unity version I'm using is 2020.1.16