Search Unity

Physics pushing through level (well sort of physics, corgi engine)

Discussion in '2D' started by codejoy, Dec 27, 2017.

  1. codejoy

    codejoy

    Joined:
    Aug 17, 2012
    Posts:
    204
    Is anyone else using the corgi engine and experiencing situations where your character can get pushed through a collider? I am not sure what work around to use to start this. Big enemies that fall on my dude (or as the example posted in the animated gif) the door shutting on top of him jolts him through the collider and he gets stuck in the level. This is using the corgi engine so not sure if there is a setting to prevent this I am missing or what?



    or if that doesn't work the imgur post:

    https://imgur.com/a/OxaSd
    (animated gif)

    I would love ideas here as to how prevent this. Pretty simple colliders on floor (using new 2d tilemap so it is a TilemapCollider 2d with a composite collider). Character is the regular box collider and the door is too.