Short question: How can I check there is a solid object over the player head?
I use simple Platformer Behavior.
My character can sit and roll under obstacles. When the player sits down, I change the collision by changing the animation to another frame.
Everything works well, except when a player can finish a roll in the middle and get stuck in the collision of tiles.
I want to make the player sit while he is in a narrow pass, but I don’t know how to check whether the player has a solid object above his head.
I know there is Platformer condition 'Is by wall' but somehow it checks left or right, not above.. (((
thank you for any help!