- Home /
Question by
DissonanceMask · Sep 02, 2020 at 08:56 PM ·
collisionjumpingfightingame
[2D Fighting Game] Prevent characters from colliding or standing on top of each other when one jumps right on top of the other?
Im trying to make a basic fighting game, and im currently working on the collision. The fighting game im trying to base it on is Street Fighter, where they cant collide or stand right on top of their opponent, but when they are on the ground, they can push them when moving forward.
All I have done so far is utilize the collision matrix, where my player collider can be stopped by the ground, and ignores other player colliders
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613011111im_/https://answers.unity.com/themes/thub/images/avi.jpg)