- Home /
Question by
diktatorn · Dec 13, 2011 at 10:29 AM ·
2drigidbodyplaneboxcollider
2D rigidbody Plane collision
I'm currently making an 2D Plattformer game. The content i have so far is an Player which have an RigidBody and an BoxCollider attached to an plane. I also have an enemy which have the same properties. The problem is that i do not have any clue on how to check for collisions on planes without increasing the size on the Z-axis.
How do i check for collisions on planes and how o i trigger the events in the code?
Comment
I'm working on a similar thing as well and having trouble. What I managed to do was make the planes into cubes, which works, but then the sides of the cubes are drawn as well (which is not what I want).