Hello everyone!
Im new to unity and coding in general and i’m running in to an issue i cant seem to figure out.
I’m trying to make a simple 2d platformer game to get going with learning so i’ve been following videos and looking online for help. My problem is that i’ve attached a 2D box collider and rigidbody to my player as well as a 2d box collider to the ground sprite and when i hit play the character falls straight through. But if i add a regular 3D collider and 3D rigidbody to everything, it all works fine. Ive checked the layers (maybe i dont have them set up right) and ive tried making the player’s collider a trigger as well.
Does anyone know why this would happen?
Also, is it bad practice to use 3d colliders with small Z values in a 2d game to get around a problem like this?
I added pictures of my setting if it helps.
Thank in advance for any help!!!