- Home /
How to ignore the collision between the character and object in the doodle jump game?
I want to create a game like doodle jump and I have some problem and can't figure out how to solve it. My problem is: The prefab (This is the one character should jump on it) at the top of the character has collider box, also the character has rigidbody and collider. Now When the character jump, it must pass the prefab and it must ignore the collision between the character and the prefab, after that the character should settle on that prefab. Can anyone explain to me how to handle this issue?
Note:I'm using 2dtoolkit for creating this game.
Answer by sebas77 · Nov 14, 2013 at 04:01 PM
well not sure if this will answer your question, but usually layers are used to ignore collisions. You need to check your layer matrix. http://docs.unity3d.com/Documentation/Components/LayerBasedCollision.html I guess 2D physic uses the same architecture.