- Home /
Question by
Thunderblade · Oct 08, 2016 at 05:08 PM ·
collision detection2d-physics
Characters Not Sliding Past Each Other
I am having a dilemma, I am making a 2-D fighting game with two players. I want the players to go past each other, but also get affected by the ground and walls. I was thinking about using layers to stop the collisions, but i need to check if player 1 hits player 2 or vice versa to do damage.
Comment
Answer by Thunderblade · Oct 11, 2016 at 05:22 AM
I figured out how to work around it. I ignored the collisions between the body collisions, but the other colliders, i did not do anything to ignore them, and it works.
Your answer
Follow this Question
Related Questions
If i scale object, collision not working 2 Answers
Wrong 2D collision detection 0 Answers
OnCollisionExit() firing when object has not exited 0 Answers
How to reliably break contact/collision? 0 Answers