- Home /
Question by
polda602 · Nov 25, 2015 at 07:16 PM ·
2dcollision2d-platformer
2D how to jump just from the top of the box
Hello, I have problem. How to make that my player just can jump from the top of the box or crate, my player can jump when is groundBox == true, this bool set OnTriggerEnter2D, but the player can jump from the side of the box, because he hit the box, can someone help me ? Thanks for the answer.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612050353im_/https://answers.unity.com/themes/thub/images/avi.jpg)