Question by
williammorgan73 · May 28, 2020 at 07:19 PM ·
platformercollision2dcollisionsboxcollider2d
How to check if player is stuck inside of ground
Hi, I am making a game where the there are two levels inside of one, to do this I am setting both scenes active/ inactive on player input. However, if the player switches into a wall or the ground, how do I detect he is fully submerged underground or inside of a wall and kill him ? I know how to kill the user but am wondering how to check if he is fully submerged. The player has a box collider and a rigidbody. This is a 2D platformer.
Comment
Your answer
Follow this Question
Related Questions
Collision with 2D shader via Shader material 0 Answers
How do i stop my cube sprite from tilting? 1 Answer
Wall collision slowing vertical jump 0 Answers
doesnt detect collision ? 1 Answer
Destroying object on any collision 1 Answer